R
Reb
Hi,
How do i convert this "Sun Jun 29 00:00:00 UTC 0800 2003"
to the normal date format (mm/dd/yyyy).
Thanks
Reb
How do i convert this "Sun Jun 29 00:00:00 UTC 0800 2003"
to the normal date format (mm/dd/yyyy).
Thanks
Reb
Reb said:How do i convert this "Sun Jun 29 00:00:00 UTC 0800 2003"
to the normal date format (mm/dd/yyyy).
reb said: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?