converting date to another date format
-
Hi, i would like to convert this DateTime format from "Sat, 05 Dec 2009 14:37:55 GMT" to "05 Dec" Please advice. Thanks :D
-
Hi, i would like to convert this DateTime format from "Sat, 05 Dec 2009 14:37:55 GMT" to "05 Dec" Please advice. Thanks :D
DateTime foo = DateTime.Now;
Console.WriteLine(foo.ToString("dd MMM"));Should sort you out. I'm feeling helpful today, other people will probably just tell this stuff is easily googled (which it is).
CCC solved so far: 2 (including a Hard One!) 37!?!! - Randall, Clerks
-
DateTime foo = DateTime.Now;
Console.WriteLine(foo.ToString("dd MMM"));Should sort you out. I'm feeling helpful today, other people will probably just tell this stuff is easily googled (which it is).
CCC solved so far: 2 (including a Hard One!) 37!?!! - Randall, Clerks
many thanks