"Mihai N." <nm**************@yahoo.com> wrote in
news:Xn********************@207.46.248.16:
CultureInfo.CurrentUICulture gets it runtime versus compile time. Are you
compiling on an english machine and running it on a french machine??
Also, I'd try dumping out the cultures (.GetCultures()) to make sure .NET
recognizes what you think it does..
CurrentCulture and CurrentUICulture depend only on the system running the
application, not on the system you compiling it.
Otherwise good advices.
Oups! I was not carefull enough!
dt.ToString("dddd", CultureInfo.CurrentCulture.DateTimeFormat);
should do.
CurrentCulture matches the user locale and the CurrentUICulture matches
the OS/MUI language.
This is unless you manualy change
System.Threading.Thread.CurrentThread.CurrentCultu re or
System.Threading.Thread.CurrentThread.CurrentUICul ture
--
Mihai Nita [Microsoft MVP, Windows - SDK]
------------------------------------------
Replace _year_ with _ to get the real email