Get UTC Hours Method
The Get UTC Hours Method returns the UTC hour of a date object as a number from 0 through 23. For more information, see Values for Dates and Times.
Format
dateVar.getUTCHours()
The following example displays a value of 13, which is the hour portion of the date, followed by the GMT equivalent:
var aDate = new Date("May 1, 2005 13:24:35");
TheApplication().RaiseErrorText("Local hour is “ + aDate.getHours() +
"\nGMT hour is " + aDate.getUTCHours());