Home All Groups Group Topic Archive Search About

How to get local langauge setting

Author
9 Jun 2006 9:16 AM
Li Pang
Hi,

I'd like to get the local language setting used to interpret the date string
in Excel, anyone has an idea?

Thanks in advance

Author
9 Jun 2006 1:14 PM
Marina Levit [MVP]
Look at the  CultureInfo.CurrentCulture.DateTimeFormat object. This has a
bunch of properties that have the format strings that are the short date
format, long date format, and so on that are the local language settins.

Show quoteHide quote
"Li Pang" <LiP***@discussions.microsoft.com> wrote in message
news:A0444B8F-0888-491D-8CFD-40AEBAC29831@microsoft.com...
> Hi,
>
> I'd like to get the local language setting used to interpret the date
> string
> in Excel, anyone has an idea?
>
> Thanks in advance