Siebel eScript Language Reference > Methods Reference > Date and Time Methods >

Set Hours Method


The Set Hours method sets the hour of a date object to an hour of a 24-hour clock. You can optionally set the UTC minute, second, and millisecond. For more information, see Values for Dates and Times.

Format

dateVar.setHours(hour[, minute[, second[, millisecond]]])

Table 66 describes the arguments for the Set Hours method.

Table 66. Arguments for the Set Hours Method
Argument
Description

hour

For more information, see Values for Dates and Times.

minute

second

millisecond

Siebel eScript Language Reference Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.