Upgrade from IIS6.0 to IIS7.0 date format adjustment method finishing

  
                  When upgrading the system from IIS6.0 platform to IIS7 (.netframework2.0 to 4.0) operating system WINSERVER2008, it may encounter the problem that the date format originally displayed by the system is converted. I encountered the date format of the original system ( yyyy-Md) After the upgrade of the results platform becomes (yyyy/M/d), it is a solution obtained from the Internet, reproduced here to remember:---------------- Win2008 IIS7 date format change method. The server is upgraded from 32-bit to 64-bit WIN2008. The result is a date format problem. The first thing that comes to mind is to change the area and language in the control panel. In the "Control Panel", in the "Control Panel" The "Region" setting was found in the Regional and Language Options & rdquo; and the short date was changed to yyyy-MD. Restart IIS and the result is the same. After turning around on GOOGLE, the result is to change the registry. The following is a modification method for reprinting the online search: run the registry editor (regedit) to enter HKEY_USERS/.DEFAULT/Control Panel/International to modify the right sDate value. - Modify the sShortDate value on the right side to yyyy-Md and finally restart IIS, you're done! Why can't I change the success of the control panel? I have to change the registry? Take a closer look at the "Regional and Language Options" that were originally modified in the Control Panel. Part of it is written in the registry HKEY_CURRENT_USER/Control Panel/International, which means that the current user is only repaired -------- -------- Modify the registry: /HKEY_USERS/.DEFAULT/Control Panel/International modify the right sDate value - (can be changed or not) modify the right sShortDate value yyyy-Md (must be changed) and finally restart IIS. The following method is invalid: in the "Control Panel", in the "Regional and Language Options" setting in "Format" setting, then change the short date to yyyy-M-D.
Copyright © Windows knowledge All Rights Reserved