setUTCHours()
Top  Previous  Next


SWiSH Player Support
SWF5 or later - Supported Internally

Syntax
DateObj.setUTCHours(hour {, min {, sec {, ms}}})

Arguments
hour: A number from 0 to 23 used to represent the current hour (0 being midnight, 23 being 11:00pm)
min:
A number from 0 to 59 used to represent the current minute. This is an optional argument.
sec:
A number from 0 to 59 used to represent the current minute. This is an optional argument.
ms:
A number from 0 to 999 used to represent the current millisecond. This is an optional argument.

Returns
an integer

Description
Method; This method is used to set the current hour for the Date Object specified according to Universal Time.