I am getting passed date variables from facebook api as a string like this:
2014-05-15T20:36:03+0000
Is that a set format that I can convert directly into a DateTime object or do I have to break apart the string?
I am getting passed date variables from facebook api as a string like this:
2014-05-15T20:36:03+0000
Is that a set format that I can convert directly into a DateTime object or do I have to break apart the string?
You will have to parse the string to a datetime object.
DateTime.Parse("2014-05-15T20:36:03+0000")