Question : jquery Countdown

Hi there,

Could someone explain to me how the Date shown  below works?

(This is a parameter in  the Jquery CountDown Javascript package... the link to it is below.)

until: new Date(2012, 8 - 1, 8), timezone: +10

I mean: 2012 is the year, but what are the other numbers, and the dash?

Thanks!
fskilnik

Link: http://keith-wood.name/countdownRef.html#labels

Answer : jquery Countdown

8-1 is a month

Months are 0 - 11, so it's august (8) but js need 7 (8-1)

and the other 8 is a day, so this date is 08-08-2012

Random Solutions  
 
programming4us programming4us