Scoped GlideDateTime - isDST()

Determines if an object's time uses a daylight saving offset.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
Boolean True if the time is daylight saving; otherwise, returns false.
var gdt = new GlideDateTime("2014-08-31 00:00:00");
gs.info(gdt.isDST()); //true

Output: