I am able to get 'Locale" information eg:=English(US),English(UK),etc...
from "Control Panel->regional options-> General" programatically using
'CultureInfo ' class. I could get the date format using below code
Thread.CurrentThread.CurrentCulture
=CultureInfo.CreateSpecificCulture(Request.UserLanguages[0]);
But We can put a specific data format under "Control Panel->regional
options-> Date" . It does not matter what LACALE is. Is there any way to get
that format from "Control Panel->regional options-> Date".
Please help me to solve this problem.
:
HI Ishaan:
Take a look at System.Globalization.CultureInfo (and the
CurrentCulture property of the class).
HTH,
--
Scott
http://www.OdeToCode.com/blogs/scott/
On Sun, 17 Oct 2004 21:13:11 -0700, Ishaan
Hi,
Is there any way to pick the data format from operating system settings
using C#?
I am doing an ASP.Net Application.