Hey Guys,
I want to parse the following date format to a DateTime object in C#. 19 Aug 2010 17:48:35 GMT+00:00
How can I accomplish this?
Thanks for your help.
Hey Guys,
I want to parse the following date format to a DateTime object in C#. 19 Aug 2010 17:48:35 GMT+00:00
How can I accomplish this?
Thanks for your help.
I'd recommend using DateTime.ParseExact
.
DateTime.ParseExact(dateString, "dd MMM yyyy H:mm:ss \\G\\M\\Tzzz", System.Globalization.CultureInfo.InvariantCulture);