views:

79

answers:

4

how to change culture date format in c#

+1  A: 

Are you asking for this?

Formatting Date and Time for a Specific Culture

gcores
A: 

For example in DateTimePicker you can use CustomFormat property to add the format you want(independent on culture). or see @gcores's answer.

nihi_l_ist
A: 

If you need to you can change the culture for the current thread so you don't have to do it for each call.

Thread.CurrentThread.CurrentCulture = New CultureInfo("th-TH", False)

More information here: http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.currentuiculture%28VS.71%29.aspx

ho1
A: 

in web . config

Lalit
<globalization culture="en-GB"/> in web .config . It works for me
Lalit