The Date class is built-in to Flash. An instance of the Date is automatically initialized with the current date and time. The class has methods for retrieving the day, month, year, hours, seconds, and more.
var d:Date=new Date(); lblDate.text=""+d;You could also just use trace(d);
Edit the last statement by typing a dot after d. When you do the list of methods will appear. Try tracing each of the choices from that window.
