package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var dToday:Date = new Date(); var sDate:String = new String(dToday); trace(sDate); } } }