Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > Universal Time Methods > getUTCHours() MethodThis method returns the UTC hour of a Date object. SyntaxReturnsThe UTC hour of dateVar as a number from 0 to 23. UsageThis method returns the UTC hour of dateVar as a number from 0 through 23. Midnight is 0, and 11 PM is 23. ExampleThis code fragment displays 13, the hour portion of the date, followed by the GMT equivalent. var aDate = new Date("May 1, 2005 13:24:35"); See Also |
Siebel eScript Language Reference |