fskilnik
asked on
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you both, but I guess DalHorinek solved exactly my doubts!
Regards,
fskilnik.
P.S.: I will open another EE post at the next minutes on the same matter, because I still could not use the until property with success. Please do have a look at my new (JQuery) doubt!
Regards,
fskilnik.
P.S.: I will open another EE post at the next minutes on the same matter, because I still could not use the until property with success. Please do have a look at my new (JQuery) doubt!
the month is particular, month start from 0 to 11. So you need to remove (the dash) 1
read this : http://www.w3schools.com/jsref/jsref_getmonth.asp
and this (new Date(y,m,d) : http://www.w3schools.com/jsref/jsref_obj_date.asp