Venu,
What you can do is use the static CurrentCulture or CurrentUICulture
properties on the Thread class to get the current culture for the thread.
That will return a CultureInfo instance which you can then get the
DateTimeFormat property of to get the datetime format that is set for the
system.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Karunakararao" <ka************@i-vantage.com> wrote in message
news:e1**************@TK2MSFTNGP12.phx.gbl...
Hi All
regional settings made at the operating system level. For example, Canada
uses a dd/mm/yyyy format while the US uses mm/dd/yyyy.
how can i get this type date format :
iam using this code in C#:
System.DateTime.UtcNow.Date.ToString();
Regards
Venu.