package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var dWhen:Date = new Date(1978, 9, 13, 20); trace(dWhen.getDay()); trace(dWhen.getUTCDay()); } } }