Forum:Countdown timer

Would it be possible to create a countdown timer using time/date wiki variables? How would this be done?

Thanks --LordTBT Talk! 22:51, 10 April 2007 (UTC)


 * Here is a rough example of the code that would be needed (note that minutes and seconds would always be zero):

 years, days, hours, minutes, seconds


 * Working example at: . Note that leap years and other crap aren't factored in in the above, and that seconds/minutes are always zero. --Splarka (talk) 03:28, 11 April 2007 (UTC)


 * Updateded the example to have weeks, and not minutes/seconds. --Splarka (talk) 03:38, 11 April 2007 (UTC)

Okay, screw all that crap. Use this instead: User:Splarka/tricks. --Splarka (talk) 06:16, 11 April 2007 (UTC)

Thanks to the evil coding genius Splarka. Working example for those curious: here. --LordTBT Talk! 06:22, 11 April 2007 (UTC)


 * Perhaps it would be good to add a &amp;nbsp; to the seconds area when it drops below 10. Cause the timer keeps making the text jump around a bit 2 times every minute. Or at least something which will force the span element to stay the same size whether or not the seconds are 1 or 2 digits. ~Dantman(talk) tricks Apr 11, 2007 @ 06:56 (UTC)