I want to use Date.ToShortDateString() but make it spit out the date in US format. Is this possible....
+11
A:
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
Console.WriteLine(dateToDisplay.ToShortDateString());
or
Console.WriteLine(dateToDisplay.ToString("d", new CultureInfo("en-US")));
dtb
2009-12-16 15:01:35
short and to the point. +1
Isak Savo
2009-12-16 15:04:07
Top marks for speed :-)
AJM
2009-12-16 15:12:09