How to set Date and time format in IIS 7

前端 未结 9 1198
春和景丽
春和景丽 2020-12-02 18:31

I have date format in my local machine : (d/M/yyyy h:mm tt) ==> (23/6/2011 4:30 PM)

when i publish my website on IIS server it converts date format to (M/d/yyyy H:mm

9条回答
  •  心在旅途
    2020-12-02 19:10

    Please try the below steps.Its works for me

    1. Check app pool of your application in IIS.
    2. Go to Application pool of your website and change Identity of that pool to local service(because your desired date format you have set is in your local system) in Advance setttings.
    3. Restart your app in IIS

提交回复
热议问题