assume I have this string : How can I convert it to DateTimeOffset object that will have UTC time - means -00:00 as Time Zone - even if I run it on machine on a specific ti
Use DateTimeOffset.Parse(string).UtcDateTime.
DateTimeOffset.Parse(string).UtcDateTime