Change Global DateTime Format of asp.net web application using webconfig

24. March 2020

In order to change the global setting of Date Time Format from webconfig, you will have to include the globalization tag with culture being the country and language you want to set . For complete list of culture values please follow this link
https://www.basicdatepicker.com/samples/cultureinfo.aspx

<system.web>

  <globalization culture="en-GB"/>

ASP.NET, ASP.NET MVC, webconfig

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading