package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var dSometime:Date = new Date(); dSometime.setMonth(0); // Set the month to 0, January var dSometime:Date = new Date(2003, 5, 23); // June 23, 2003 dSometime.setMonth(12); // January 23, 2004 } }}
Name (required)
email (will not be published) (required)
Website