var now: Date = new Date();
Nice, that worked.. but now i want to have my date looking like this;
How to do this?
var curTime:Date=new Date();
var datestring:String=curTime.fullYear+"-"+curTime.monthUTC+"-"+curTime.date+"-"+curTime.hour s+"-"+curTime.minutes+"-"+curTime.seconds;
But the month we are in now is 7 and the output of datestring is:
What am i doing wrong?
Do month+1 to get the standard number.