Under Win7, although we have changed the time and date format in the control panel to YYYY-MM-DD, the date obtained by the ASP function NOW() or DATE() is still in the format with /
We can solve this problem by changing the registry:
Open the registry, go to [HKEY_USERS/.DEFAULT/Control Panel/International], and then
1. Change the value of key sDate from / to -
2. Change the value of key sShortDate from yyyy/M/d to yyyy-Md
3. Restart IIS.