Flash CS3 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript classes > Date > getUTCDate (Date.getUTCDate method) | |||
public getUTCDate() : Number
Returns the day of the month (an integer from 1 to 31) in 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 Date.getUTCDate() and Date.getDate(). The value returned by Date.getUTCDate() can differ from the value returned by Date.getDate(), depending on the relationship between your local time zone and universal time.
var my_date:Date = new Date(2004,8,25); trace(my_date.getUTCDate()); // output: 25
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00001592.html