Date.getUTCHours()
Availability
Flash Player 5.
Usage
my_date.getUTCHours() : Number
Parameters
None.
Returns
An integer.
Description
Method; returns the hour (an integer from 0 to 23) of the specified Date object, according
to universal time.
Example
The following example creates a new Date object and uses
Date.getHours()
returned by
Date.getHours(),
universal time.
var today_date:Date = new Date();
trace(today_date.getHours()); // display based on local timezone
trace(today_date.getUTCHours()); // display equals getHours() plus or minus 12
Date.getUTCMilliseconds()
Availability
Flash Player 5.
Usage
my_date.getUTCMilliseconds() : Number
Parameters
None.
Returns
An integer.
Description
Method; returns the milliseconds (an integer from 0 to 999) of the specified Date object,
according to universal time.
. The value returned by
depending on the relationship between your local time zone and
Date.getUTCHours()
Date.getUTCHours()
and
may differ from the value
Date.getUTCMilliseconds()
271
Need help?
Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?