getTimezoneOffset
Description
Returns the current timezone's offset versus UTC for a given instant, taking Daylight Savings Time into account.
Syntax
getTimezoneOffset([date] )
Code Examples
Code Snippet
getTimezoneOffset(getDate(
2017
,
1
,
22
))
//returns -8.0 (if you are in Pacific Daylight Time)