User Guide

286 Chapter 6: ActionScript Core Classes
Example
The following example creates a new maryBirthday_date Date object defined in universal time.
This is the universal time variation of the example used for the
new Date constructor method.
var maryBirthday_date:Date = new Date(Date.UTC(1974, 7, 12));
trace(maryBirthday_date);
// output will be in local time and will vary accordingly
// for Pacific Daylight Time the output will be seven hours earlier than UTC:
// Sun Aug 11 17:00:00 GMT-0700 1974