D-E > Date.setUTCHours |
![]() ![]() ![]() |
Date.setUTCHours
Availability
Flash Player 5.
Usage
myDate
.setUTCHours(hour
[
, minute
[
, second
[
, millisecond
]]]
)
Parameters
hour
An integer from 0 (midnight) to 23 (11 p.m.).
minute
An integer from 0 to 59. This parameter is optional.
second
An integer from 0 to 59. This parameter is optional.
millisecond
An integer from 0 to 999. This parameter is optional.
Returns
An integer.
Description
Method; sets the hour for the specified Date object in universal time, and returns the new time in milliseconds.
![]() ![]() ![]() |