35
rated 0 times
[
39]
[
4]
/ answers: 1 / hits: 100886
/ 14 Years ago, sun, march 21, 2010, 12:00:00
The following script returns 20 instead of 21!
var d = new Date(2010/03/21);
document.write(d.getDate());
What am I doing wrong? Is this a JavaScript bug?
More From » getdate