IIS6 upgrade to IIS7 date format modification method in Windows system

Source: Internet
Author: User

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.

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.