DateTime.ParseExact, Ignore the timezone
If I have a date such as 2011-05-05T11:35:47.743-04:00
How can I ignore the timezone (-04:00) when I do a DateT开发者_C百科ime.ParseExact programatically?
DateTimeOffset dt =DateTimeOffset.Parse("2011-05-05T11:35:47.743-04:00", null);
精彩评论