User Guide
258 Chapter 2: ActionScript Language Reference
Date.getUTCSeconds()
Availability
Flash Player 5.
Usage
my_date.getUTCSeconds() : Number
Parameters
None.
Returns
An integer.
Description
Method; returns the seconds (an integer from 0 to 59) of the specified Date object, according
to universal time.
Example
The following example creates a new Date object and uses getUTCSeconds() to return the
seconds value from the Date object:
var today_date:Date = new Date();
trace(today_date.getUTCSeconds());