I have DateTimeOffset:
DateTimeOffset myDTO = DateTimeOffset.ParseExact(
"2015/01/15 17:37:00 -0500", "yyyy/MM/dd HH:mm:ss zzz",
CultureInfo.InvariantCulture);
Console.WriteLine(myDTO);
Result => "1/15/2015 17:37:00 -05:00"
How convert to DateTime and add this offset "-0500" in the resulted DateTime
Desired result => "1/15/2015 22:37:00"
1/15/2015 17:37:00 -05:00
normally means "The local time is 17:37, but that's 5 hours behind UTC" - in other words, a result of1/15/2015 22:37:00
would be useful, as that's the UTC time - but 12:37 would be applying the offset twice. Can you explain more about your context? – Paratyphoid