basic date in AS3

var date:Date = new Date();
var dateString:String = (date.date) + "-" + (date.month + 1) + "-" + date.fullYear; // traces 20-05-2010
Tech Reference:

Leave a Reply

Your email address will not be published. Required fields are marked *

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑