Get the UTC offset for the specified local time
public String GetUtcOffset
{
    return TimeZone.CurrentTimeZone.GetUtcOffset(DateTime.Now);
}
Categories: C# Tags: , , , , , , , ,
%d bloggers like this: