Date on the timer is wrong.

Author
Topic
#1992

I set the date in the script that I want the countdown to hit 0 at but it is off by about 30 days. I want it to expire on 1/1/2015 at noon. Right now i just have the date set for 1/1/2015. Can you help me with the countdown and adding the time to expire at??

Here is the link https://www.winwithacobra.com/index.html

Viewing 1 replies (of 1 total)
Author
Replies
  • #1993

    This is not the error, you just specified date wrong. In JavaScript months counting starts from 0 not 1, so it is from 0 to 11 not 1 to 12.

Viewing 1 replies (of 1 total)
  • The topic ‘Date on the timer is wrong.’ is closed to new replies.