UTC() is a method that returns the time value in milliseconds from midnight on January 1, 1970 : Date : Development Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Development » Date »

 

UTC() is a method that returns the time value in milliseconds from midnight on January 1, 1970


 


package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){

       // The UTC() method takes the same arguments as the Date constructor: year, month, date, hour, minutes, seconds, milliseconds. 
        var nUTCDate:Number = Date.UTC(197001000);
        
        var nUTCDate:Number = Date.UTC(197001);
    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Development
» Date