Scoped GlideDateTime - setMonthUTC(Number month)

Sets the month stored by the GlideDateTime object to the specified value using the UTC time zone.

Table 1. Parameters
Name Type Description
month Number The month to change to.
Table 2. Returns
Type Description
void
var gdt = new GlideDateTime();
gdt.setMonthUTC(1);
gs.info(gdt.getMonthUTC());

Output: 1