Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() ![]() ![]() |
Siebel eScript Language Reference > Siebel eScript Commands > The Date Object >
setUTCHours() Method
This method sets the UTC hour of a Date object to a specific hour of a 24-hour clock.
Syntax
dateVar.setUTCHours(hour[, minute[, second[, millisecond]]])
Returns
Not applicable
Usage
This method sets the UTC hour of dateVar to hour as a number from 0 to 23. Midnight is expressed as 0, and 11 PM as 23. It can optionally also set the UTC minute, second, and millisecond.
Example
For an example, read setUTCFullYear() Method.
See Also
Universal Time Functions, getUTCHours() Method, and setHours() Method
Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() ![]() ![]() |
Siebel eScript Language Reference Published: 18 April 2003 |