hi Jon,
I tried to do this method. But looks like, it couldn't
recognise the format.
CultureInfo en = new CultureInfo("en-US");
String format = "MM/dd/yyyy hh:mm:sszzz";
// Converts the string back to a local DateTime and
displays it.
DateTime parsedBack =
DateTime.ParseExact(day,format,en.DateTimeFormat);
have u come across this before?
thx
Reb
-----Original Message-----
Reb <gb***@yahoo.com> wrote: How do i convert this "Sun Jun 29 00:00:00 UTC 0800
2003" to the normal date format (mm/dd/yyyy).
Use DateTime.Parse and one of the DateTime.ToString
variants.
Look up "Date and Time Format Strings" in the MSDN for
moreinformation.
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet/
If replying to the group, please do not mail me too
.