Scoped GlideDateTime - getDSTOffset()

Gets the amount of time that daylight saving time is offset.

Table 1. Parameters
Name Type Description
Table 2. Returns
Type Description
Number Amount of time, in milliseconds, that daylight saving is offset. Returns 0 if there is no offset or if the time is not during daylight saving time.
var gdt = new GlideDateTime("2014-08-31 08:00:00");; //uses current user session time zone (US/Pacific)