Datetime format issue in IIS 7 server

冷暖自知 提交于 2019-11-30 07:55:40

After lot's of hunt i have found the solution of my problem:

1) Change the datetime format of your server from:

Control Panel -> Regional and Language Options -> Advanced

2) Open IIS and follow below steps: (For IIS7)

- Click on you Website
- Select .NET GLOBALIZATION option
- From Culture tab, select required Culture and UI Culture.
- Finally iisreset.
- Dones....
Uday Gupta

Change in registry entry

regedit >> HKEY_USERS >> DEFAULT >> Control Panel >> International

and we have changed "sLongDate" and "sShortDate" key in dd MM yyyy format

and restart server.

Hemant
  1. Change the datetime format of your server from:

    Control Panel -> Regional and Language Options -> Advanced

  2. Open IIS and follow below steps: (For IIS7)

    • Click on you Website
    • Select .NET GLOBALIZATION option
    • From Culture tab, select required Culture and UI Culture.
    • Finally iisreset.
    • Dones....

This Answer posted by Sham worked for us. We were upgrading the server and there were no changes in application or DB but after upgrade we got string format issue for date time. Above suggestion helped me...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!