Scoped GlideDateTime - getMonthUTC()

Gets the month stored by the GlideDateTime object, expressed in the UTC time zone.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
Number The numerical value of the month.
var gdt = new GlideDateTime("2011-11-02 12:00:00"); //November
gs.info(gdt.getMonthUTC());

Output: