package{
import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
var dWhen:Date = new Date(1978, 9, 13);
trace(dWhen.getFullYear()); // Displays: 1978
var dThen:Date = new Date(1779, 6, 4);
trace(dThen.getFullYear()); // Displays: 1779
}
}
}