How to modify windows server 2008 time and date format

  
                                                                                                                                                                                         

Windows 2008 IIS7.0 ASP output and database date format is YYYY/MM/DD How to set it to YYYY-MM-DD format?

To solve this problem, you need to do the following two steps:

1, Control Panel->Regional and Language Options->Customize this Format->Date Date Button -> Select yyyy-md

Second, modify the registry:

HKEY_USERS\\.DEFAULT\\Control Panel\\International Modify the right sDate value - modify the right sShortDate value to yyyy-Md Restart computer
, OK

Because 2008 defaults to YYYY/MM/DD date format, and 2000, 2003 defaults to YYYY-MM-DD format, so many programs did not take into account format-related issues, cause an error



Copyright © Windows knowledge All Rights Reserved