get offset from timezone code example
Example 1: client timezone offset in JavaScript
var clientTimezoneOffset = new Date().getTimezoneOffset()/60;//offset in hours
Example 2: c# get offset from timezone
var offset = TimeZoneInfo.Local.GetUtcOffset(DateTime.UtcNow);