Setting the Date : Date : Development Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Development » Date »

 

Setting the Date


 


package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        var dSometime:Date = new Date(2003523)// June 23, 2003
        
        dSometime.setDate(23);  
        var dSometime:Date = new Date(343318);  
        dSometime.setDate(29);  
        var dSometime:Date = new Date(343318);
        dSometime.setDate(-1);
        dSometime.setMonth(-1);
        
    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Development
» Date