Datetime string formatting and CultureInfo

Posted by fearofawhackplanet on Stack Overflow See other posts from Stack Overflow or by fearofawhackplanet
Published on 2010-04-30T09:06:45Z Indexed on 2010/04/30 9:17 UTC
Read the original article Hit count: 342

Filed under:
|
|
|

I was suprised to see FxCop complaining that I wasn't specifying a CultureInfo in the following:

string s = day.ToString("ddd");

Surely the format string param in ToString is completely independent of CultureInfo? Is there any way which CultureInfo could affect the returned string?

© Stack Overflow or respective owner

Related posts about c#

Related posts about datetime