Mega Code Archive

 
Categories / Flash ActionScript / Development
 

Send the Date constructor a series of values for the year, month, day of the month, hour, minute, second, and millisecond to r

package{   import flash.display.Sprite;      public class Main extends Sprite{     public function Main(){         var bday:Date = new Date(1981, 4, 12); // May 12, 1981 12:00:00AM                  trace(bday);     }   } }