Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date Format
Message
From
31/03/2011 07:09:45
 
 
To
30/03/2011 09:53:10
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
01505281
Message ID:
01505660
Views:
37
Thanks, the client found some config settings in the IIS and set the culture there. I guess this does the same thing as what you suggested.

>Hi, you can specify exactly to display as dd/mm/aaaa in your page, (load event)
>
>Thread.CurrentThread.CurrentCulture = new CultureInfo("en-GB");  //dd/mm/aaaa
>
>But if you want to do this for the entire app, you can do it in the web.config file:
>
>"configuration>
>"    system.web>
>"       globalization 
>"         requestEncoding="utf-8"
>"          responseEncoding="utf-8"
>"          culture="en-GB"
>"          uiCulture="en-GB" />
>"    /system.web>
>" /configuration> 
>
>the simbol ( " ) in the beginning of the lines must be changed by ( < )
>
>>I've got an ASP.NET application which when I run on my PC (using the ASP.NET Development Server) it displays the dates according to >whatever Regional format I have set in control panel. At my client's site, they have IIS running on a Windows 2003 server. The server's >regional settings are to display short dates as dd/MM/yyyy, however, the dates in my application are all displaying as MM/dd/yyyy. Is
>>there some setting in IIS or elsewhere that I need to change?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform