Deserializing datetime from Twitter stream

May 1, 2012 at 8:47 AM

Hi all,

From Twitter, I receive dates in following format: "Fri Mar 02 16:32:27 +0000 2012"

Is there an easy way to deserialize them? Can I use one of the existing converters (like IsoDateTimeConverter)? Any idea how the DateFormat string should look like then?

If not, has anyone an example of creating a custom converter for dates?

Thanks so much in advance!

May 2, 2012 at 3:24 PM

Can the new DateParseHandling feature be of any help here? Does anyone know how to use it or can I find somewhere an example?

Aug 22, 2012 at 3:24 AM

I've used DateTime.Parse with Twitter no problem, like this:

DateTime.Parse((string)t["created_at"])