Welcome to my actionscript snippet library!

Actionscript Snips is a small repository of actionscript code that aims to save developers and designers time when developing a website.  
Showing posts with label Date. Show all posts
Showing posts with label Date. Show all posts

Get Current Date


var currentDate=new Date();
var month=currentDate.getMonth();
var day=currentDate.getDate();
var year=currentDate.getFullYear();

trace(month+"-"+ day + "-" + year);