Send the Date constructor a series of values for the year, month, day of the month, hour, minute, second, and millisecond to represent. : Date : Development Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Development » Date »

 

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


 


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

    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Development
» Date