SWiSH Player Support
SWF5 or later - Supported Internally
Syntax
DateObj.getUTCHours()
Arguments
none
Returns
an integer
Description
Method; returns an integer (0 - 23; 0 being midnight, 23 being 11:00pm, etc.) representing the current hour for the Date Object according to Universal Time.
Sample
onFrame (1) {
theDate = new Date();
trace(theDate.getUTCHours());
}