How to convert string into datetime

Posted by jstawski on Stack Overflow See other posts from Stack Overflow or by jstawski
Published on 2010-04-09T19:50:52Z Indexed on 2010/04/09 19:53 UTC
Read the original article Hit count: 256

Filed under:
|

Hello fellow stackoverflowers, quick question. I'm using C# 3.5 and I have a date that comes in as string in the following format:

Tue Jan 20 20:47:43 GMT 2009

First question, what is the name of that format? Second question, what's the easiest and clearest way to convert this string into a datetime? I would love to be able to use a .net API/Helper method if possible.

Thanks a bunch...

© Stack Overflow or respective owner

Related posts about c#

Related posts about datetime