How to adjust the date format from iis6.0 to iis7.0

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.