When the system is upgraded from the IIS6.0 platform to the IIS7 (. netframework2.0 to 4.0) operating system WINSERVER2008, it is possible to encounter the problem of conversion of the date format originally displayed by the system.
I encountered the original system date format is (yyyy-m-d) result platform upgrade became (YYYY/M/D)
To modify the registry:
/hkey_users/. Default/control panel/international
Modify right Sdate value to-(can be changed)
Modify the right Sshortdate value to yyyy-m-d (must be changed)
Finally, restart IIS.
The following method tests are not valid:
In Control Panel, you find the format setting in regional and language options, and then change the short date to yyyy-m-d.
Date format for WIN2008 IIS7
Colleagues search a patch to modify the registry problem resolution.
To modify the method:
Run Registry Editor (REGEDIT)
Into the hkey_users/. Default/control panel/international
Modify the right sdate value to-
Modify the right sshortdate value to yyyy-m-d
Restart iis,ok!
The "Regional and Language Options" section modified in the Control Panel is written in the registry Hkey_current_user/control Panel/international, which says it only repairs the current user's
It looks exactly the same, so IIS7 can be done in any system format.