# \[MX04\] Countdown from specificDate1 to specificDate2

**URL:** <https://forum.kirupa.com/t/mx04-countdown-from-specificdate1-to-specificdate2/136334>\
**Category:** Uncategorized\
**Created:** [February 3, 2005, 8:59pm UTC](https://forum.kirupa.com/t/mx04-countdown-from-specificdate1-to-specificdate2/136334 "2005-02-03T20:59:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rickpickett](https://avatars.discourse-cdn.com/v4/letter/r/53a042/32.png) [@rickpickett](https://forum.kirupa.com/u/rickpickett)\
**Post date:** [February 3, 2005, 8:59pm UTC](https://forum.kirupa.com/t/mx04-countdown-from-specificdate1-to-specificdate2/136334/1 "2005-02-03T20:59:29Z")

</div>

Hey peeps! I’m trying to create a countdown timer, a doomsday time some might say, that starts on April 3rd and should end roughly 46hours, 22minutes and 38seconds later once the movie is played.

I built the counter based off Senocular’s awesome tutorial. I manged to not screw up any of the code when using the getTime(); function and using X-Mas as the ending date. However, this is useless to me since I need a specific time frame to count down.

How can I establish the new Date() function to create a currentDate var of 04/03/2005? What am I doing wrong in trying to use the getTime(); to bastardize its milliseconds count?

Ugh…

Thanks, oh, and I attached my AS damage :krazy:

Rick
