When the system is upgraded from the iis6.0 platform to iis7 (. netframework2.0 to 4.0), Windows Server may encounter conversion of the date format originally displayed by the system.
I encountered that the date format of the original system was (yyyy-m-d). As a result, the platform was upgraded to (yyyy/M/d)
The solution obtained from the Internet is reproduced here for your memory:
----------------
How to change the date format of win2008 iis7.
When the server is upgraded from 32-bit to 64-bit win2008, the date format is incorrect. The first thing that comes to mind is to change the region and language in the control panel,
On the "control panel", locate the "format" setting in "region and language options", and change the short date to yyyy-m-D. Restart IIS. The result is the same.
After turning around on Google, the result is to change the registry. The following is a method for modifying the search on the Internet:
Run the Registry Editor (Regedit)
Go to HKEY_USERS/. Default/control panel/International
Modify the sdate value-
Modify the s1_date value to yyyy-m-D.
Finally, restart IIS!
Why can't I change the registry if I have successfully modified it in the control panel? I have carefully read that the previously modified "region and language options" section in the control panel is written in the Registry HKEY_CURRENT_USER/control panel/International. That is to say, it only repairs the current user's
----------------
Modify registry:
/HKEY_USERS/. Default/control panel/International
Modify the sdate value on the Right To-(can be changed or not)
Modify the s1_date value to yyyy-m-D (required)
Restart IIS.
The following method is invalid.:
On the "control panel", locate the "format" setting in "region and language options", and change the short date to yyyy-m-D.