Look at this piece of code:
var d = new Date();
trace( d );
trace( "Today's date:" + d.getFullYear()+"/"+d.getMonth()+"/"+d.getDate());
And the output:
Tue Apr 08 10:56:03 GMT-0400 (Eastern Daylight Time) 2003
Today's date:2003/3/8
Apr = 3?
var d = new Date();
trace( d );
trace( "Today's date:" + d.getFullYear()+"/"+d.getMonth()+"/"+d.getDate());
And the output:
Tue Apr 08 10:56:03 GMT-0400 (Eastern Daylight Time) 2003
Today's date:2003/3/8
Apr = 3?
![Wink](https://forum.esignal.com/core/images/smilies/wink.gif)
![Big Grin](https://forum.esignal.com/core/images/smilies/biggrin.gif)
![Stick Out Tongue](https://forum.esignal.com/core/images/smilies/tongue.gif)
Comment