How to set the format of dates in a web appication

Posted by GigaPr on Stack Overflow See other posts from Stack Overflow or by GigaPr
Published on 2010-03-19T15:10:01Z Indexed on 2010/03/19 15:11 UTC
Read the original article Hit count: 147

Filed under:
|

Hi,

i would like to set the date format of all the dates in my web application in a central location.

i mean if the website is opened in USA it will have a format such as

3/19/2010 (March/19/2010)

while in Italy will be

19/3/2010 (19/March/2010)

i am no really concerned with how to locate the users but indeed on how to set the different date format for the whole application in one single location in c#.NET

thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET