Countdown timer / Discussion
Forum
» Hidden / Per page discussions
» Countdown timer
This is the discussion related to the wiki page Countdown timer.
<scripttype="text/javascript"> today = newDate(); BigDay = newDate("Month dayofmonth, year"); // Change date to the day you would like to countdown tomsPerDay = 24 * 60 * 60 * 1000 ; // VbstimeLeft = (BigDay.getTime() - today.getTime());// Vbse_daysLeft = timeLeft/ msPerDay;// Vbs daysLeft = Math.floor(e_daysLeft);// Vbs e_hrsLeft = (e_daysLeft - daysLeft)*24;// Vbs hrsLeft = Math.floor(e_hrsLeft);// Vbs minsLeft = Math.floor((e_hrsLeft - hrsLeft)*60);// Vbs document.write("there are only ... the days left will come after this " + daysLeft + " Days " + hrsLeft +" Hours " + minsLeft + " Minutes</H4> Untilitis ... yourreasonofcountdownlikemybirthdayor ... <P>"); // I started this from something I got from moonfruit.com Credits for them. </script>
/forum/t-1067798/countdown-timer#post-