ActionScript 2.0 Language Reference |
|
|
|
| ActionScript classes > Date > getUTCSeconds (Date.getUTCSeconds method) | |||
public getUTCSeconds() : Number
Returns the seconds (an integer from 0 to 59) of the specified Date object, according to universal time.
Availability: ActionScript 1.0; Flash Player 5
Number - An integer.
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());
|
|
|
|