Get UTC Month Method
The Get UTC Month method returns the UTC month of a date object as a number from 0 through 11. For more information, see Values for Dates and Times.
Format
dateVar.getUTCMonth()
The following example displays a value of 5, which is the month portion of the date determined by adding 1 to the value that the Get UTC Month method returns. This value is followed by the GMT equivalent which is determined by adding 1 to the value that the Get UTC Month method returns:
var aDate = new Date("May 1, 2005 13:24:35");
var locMo = aDate.getMonth() + 1;
var GMTMo = aDate.getUTCMonth() + 1
TheApplication().RaiseErrorText("Local month: " + locMo +"\nGMT month: "
+ GMTMo);