GlideDateTime - isDST()

Determines if the 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 time, false otherwise.

Scoped equivalent

To use the isDST() method in a scoped application, use the corresponding scoped method: Scoped GlideDateTime - isDST().

var gdt = new GlideDateTime("2011-08-31 00:00:00");
gs.print(gdt.isDST()); //true

Output:

true