[Herts] LUG date javascript quick fix

James Ronan james at ronanweb.co.uk
Wed Oct 31 18:28:30 GMT 2007


Hi Rob, All  . . .

<snipped />
> There is a demo here
> http://www.jumpstation.co.uk/misc/jsdat.html

There's a small issue with your JS, in that its giving the date for
the December meet, not the Nov one. . . .

I took a look and the date function does indeed add one to the month
value but for some reason it believes the result is December??

Is this just me? Or is it a weird issue with the JS date object on
the 31st of the month.

Cheers,
JamesR




More information about the Herts mailing list