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


Flash / Flex / ActionScript examples » Development » Date »

 

Setting the Time


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        var dOriginal:Date = new Date();
        var dCopy:Date = new Date(dOriginal.getTime());
        
        var dOriginal:Date = new Date();
        var dCopy:Date = new Date();
        dCopy.setTime();
    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Development
» Date