Getting the Hours, Minutes, Seconds, and Milliseconds
package{ import flash.display.Sprite;
public class Main extends Sprite{ public function Main(){
var dThen:Date = new Date (2727, 9, 27, 5);
trace(dThen.getHours()); // Displays: 5;
trace(dThen.getUTCHours()); // Displays: 5 + offset
}
}
}