Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > Date and Time Methods > setHours() MethodThis method sets the hour of a Date object to a specific hour of a 24-hour clock. SyntaxdateVar.setHours(hour[, minute[, second[, millisecond]]]) UsageThis method sets the hour of dateVar to hour, expressed as a number from 0 to 23. It can optionally also set the UTC minute, second, and millisecond. Midnight is expressed as 0, and 11 PM as 23. See AlsogetHours() Method |
Siebel eScript Language Reference |