Jon Skeet [C# MVP] <sk***@pobox.comwrote in
news:MP************************@msnews.microsoft.c om:
Brad <br************@roche.comwrote:
>Is there a way to determine the OS's date/time culture format (e.g.
mm/dd/yyy vs. dd/mm/yyy) setting at run time?
CultureInfo.CurrentCulture.DateTimeFormat will give you a
DateTimeFormatInfo which should have the info you need.
In some situations, CurrentUICulture would be more appropriate. See the
docs for more details.
Sorry to contradict, but in all situations dealing with formats
(number/date/time), CurrentCulture is the thing you need.
See "Two things that suck about CurrentUICulture"
http://blogs.msdn.com/michkap/archiv...0/1442340.aspx
--
Mihai Nita [Microsoft MVP, Windows - SDK]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email