private function getCurrDateTimeMilliseconds():String

{
    var date:Date = new Date();
    var _1:Number = date.getFullYear();
    var _2:Number = date.getMonth() + 1;
    var _3:Number = date.getDate();
    var _4:Number = date.getHours();
    var _5:Number = date.getMinutes();
    var _6:Number = date.getSeconds();
    var _7:Number = date.getMilliseconds();

    var _11:String = String( _1 );
    var _22:String = ( _2 < 10 ? "0" : "" ) + String( _2 );
    var _33:String = ( _3 < 10 ? "0" : "" ) + String( _3 );
    var _44:String = ( _4 < 10 ? "0" : "" ) + String( _4 );
    var _55:String = ( _5 < 10 ? "0" : "" ) + String( _5 );
    var _66:String = ( _6 < 10 ? "0" : "" ) + String( _6 );
    var _77:String = ( _7 < 10 ? "00" : ( _7 < 100 ? "0" : "" ) ) + String( _7 );


    return _11 + _22 + _33 + _44 + _55 + _66 + _77;

}

 

+ Recent posts