|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
British date instead of americanI normally use this line: Session.LCID = (2057)
in my code so that all date fields are british and not american in format. How might I do this when using a console application? It doesn't 'Session'. Thanks! EggHeadCafe.com - .NET Developer Portal of Choice http://www.eggheadcafe.com On Thu, 07 Dec 2006 07:16:39 -0800, Gina wrote:
> I normally use this line: Session.LCID = (2057) Try this:> in my code so that all date fields are british and not american in format. > > How might I do this when using a console application? It doesn't 'Session'. > > Thanks! > > EggHeadCafe.com - .NET Developer Portal of Choice > http://www.eggheadcafe.com Thread.CurrentThread.CurrentCulture = new CultureInfo("en-gb"); |
|||||||||||||||||||||||