Win2003 changes the server time format, removes the "AM" or "PM" method in time.

  

When the ASP program is run in the WINDOWS XP or 2003 server, the time displayed on the web page may appear "AM" or "/" The words "afternoon" affect the appearance of the page. The solution is as follows: Method 1:

1, Control Panel--Regional and Language Options--Set the time to 24-hour format. 2. After setting, in [Advanced], check [Apply all settings to current user account and default user profile] in [Default User Account Settings]. 3. Restart IIS, refresh your program or quit re-login. Method 2 1. Control Panel - Regional and Language Options - Set the time to 24 hour format. 2. Open the registry and create HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\OLEAUT\\ VarConversionLocaleSetting = 2 (DWORD). Note: The OLEAUT entry may not exist. If it does not exist, you must first create it. 3. Restart IIS, refresh your program or quit re-login.

Copyright © Windows knowledge All Rights Reserved