getting current date

From WebHostingNeeds.com
Jump to: navigation, search
var now:* = new Date().fullYear;
trace(now);