Scoped GlideDateTime - getMonthLocalTime()

Gets the month stored by the GlideDateTime object, expressed in the current user's 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.getMonthLocalTime());

Output: