CurrentCulture, CurrentUICulture and DateTime strings
There are a lot of blogs out that that tries to explain which is what, and why it is the way it is.
To those of you who just want to know what the results are. I wrote a quick little app to show what happens.
As you can see, DateTime.ToString() formatting is driven purely by CurrentCulture.
You can read more about the reasons and background here:
- MSDN CultureInfo Documentation
- Why we have both CurrentCulture and CurrentUICulture [MichKap]
- YACVCP (Yet another CurrentCulture vs. CurrentUICulture post) [Dennis Dietrich]
For other DateTime Format String info, check out my blog post ".NET Format String 102: DateTime Format String".
Comments
- Anonymous
March 11, 2008
PingBack from http://msdnrss.thecoderblogs.com/2008/03/11/currentculture-currentuiculture-and-datetime-strings/