Online Countdown Timer
…the page the timer is currently on. It will only be up for another 17 hours, if it longer than that till you read this post, it will be gone.
from ‘How To’ Forum
I’ve done a simple JavaScript-based replica of that timer:
You can use this by pasting the following piece of code in your page:
<style>
table.timer {
font: bold 24pt Tahoma, Arial, Helvetica;
color: brown;
}
table.timer.td {
padding: 0;
margin: 0;
}
table.timer tr.labels td {
font-size: 10pt;
}
</style>
<script type='text/javascript'>
var timerEnd = new Date(Date.UTC(2007, 11, 31, 0, 0, 0));
</script>
<script src='http://blog.go-test.net/wp-content/uploads/2006/07/timer.js'>
</script>
The date has to be set in terms of GMT.
year, month(0 for January, 1 for February,..), day, hour, min, sec
If you want to use this script from your site, you can download timer.js, put it nearby your page and change the last line to one like this:
<script src='timer.js'></script>











August 7th, 2006 at 12:33 am
Good script :)
August 13th, 2006 at 7:04 am
The only trouble is that in my
and the Timer does not work
August 20th, 2006 at 12:50 pm
COOL script!
Big thanx!
September 2nd, 2006 at 12:40 pm
Really cool script. Thanks a lot…
September 28th, 2006 at 6:58 am
It’s okay but dunno how to start it.. it’s just 00000000 and blank. It’s not working?
September 28th, 2006 at 1:17 pm
MisuKi, probably you should check the date format (it has to be exactly the same as in my example above) and make sure that JavaScript is enabled in your browser.
Good luck!
Oleg
September 29th, 2006 at 1:05 pm
What happens when it reah the 0 time ! , am geting script error , what shall it do ! redirect stop etc…
plz help
September 29th, 2006 at 1:23 pm
Sam, it writes “EXPIRED”, no errors or redirects
September 29th, 2006 at 6:31 pm
Dear admin, 1st thx 4 reply ,
I don’t know why the “EXPIRED” not working on my pc , so I replaced it with :
—————————————————————————-
document.writeln(”“);
document.writeln(” Go to yahoo “);
document.writeln(”");
—————————————————————————-
so its works fine and show a link insted , and that’s what I need .
I want to use your script in my VB forum, so its works well in the nav bar, but I have a problem that it loads the VB style css and not the class=”timer” , so can you help please somehow to force it to read your css style insted of the forum’s css , maybe insted of writing a style and use class=”timer” we can put a direct colors and font size in the output result table (document.write)
thank you a lot , really its the best script I found upon searching and trying many countdown scripts :)
September 29th, 2006 at 8:50 pm
Sam, I’ve done some changes: now table style is written directly (the same fonts and sizes as in example above). You can download this version here.
October 1st, 2006 at 8:58 am
Thanks I just need to change the date. How do I do that?
I’m putting it the forum.
Thanks
Cindy
The Blue Unicorn
October 1st, 2006 at 2:01 pm
Cindy, have a look at the code. There is a line:
var timerEnd = new Date('December 31, 2006,08:00:00');
Just change this line, but you have to match the date format.
Good luck!
Oleg.
October 1st, 2006 at 7:01 pm
Dear Oleg,
Thank you a lot for the reply ,
1st : unfortunately also the timer1.js didn’t work on my forum, it looks that it’s somehow reading the forum’s css style and apply it to the timer, anyway I created an admin account for you on my forum so you can have a look .
2nd : suppose I had an appointment with the users at a specific time (Lets say at 17:00 at My Country Local Time which is +3 GMT) and the timer starts count time till 17:00 so I noticed that when a user enter from another country and he has different GMT time the counter will count depending at the end user local time and actually he will miss the appointment exact time which is must be only at my time, so how I can solve this issue to have only ONE time for all depending only at my Country GMT time :)
Please send me your email address so I can email you the admin account at my forum .
Thank you
October 11th, 2006 at 8:05 am
the code seems to be alright but its not working on my page.y is it so??ive placed the code both in the head section once and other time in the body section,yet it does not display the time left:S wat shud be done?can anyone pls clarify?
October 11th, 2006 at 4:15 pm
leenakshi, you don’t have put the code in the head section. You should use it directly in the place you want it to appear at your page.
If this page (in my blog) is displayed correctly, the problem is not in your browser, but in your page.
Good luck
November 1st, 2006 at 12:37 am
I pasted the exact code from the page and my timer is stuck on zero. I’m not sure what the problem is…
help.
November 1st, 2006 at 1:06 am
Dave, make sure that Javascript is enabled in your browser. If you want, give me a link to your page with timer-code - I’ll have a look to find out what the problem is.
November 14th, 2006 at 5:14 pm
What a great little script - used it a few times, and meant to thank you ages ago!
December 2nd, 2006 at 8:33 pm
how exactly do you change the timezone of the timer.. :( i need help.
December 16th, 2006 at 7:53 pm
That’s nice and simple..but how to make it start from a certain date? say like from the 21st t the 25th
January 6th, 2007 at 12:30 pm
Ive tried to put the timer.js in my file, then with my Dreamwever 8 i made an insert tag JSP forward with the target file timer.js, noting happened.
Help me, i never added script.
May 24th, 2007 at 6:47 pm
Can this be used in wordpress? I tried it and having trouble. I’m a novice.
July 19th, 2007 at 7:19 am
Hi, This is truly the best, easiest countdown i have used yet! However, it seems to be calculating the date wrong. It is currently showing 50 days rather than 21 days. I checked the date I entered, and it is correct. any ideas?
August 2nd, 2007 at 11:20 pm
This is a great script. I added it to my site and it works great. It looks very professional. I was wondering. Do you have a code to have this script automatically redirect to my chosen page after the timer expires? Is it possible for me to do that? I would greatly appreciate your time since I am using this script for a product launch. Thank you.
August 3rd, 2007 at 6:20 pm
Its a great script but I a little new at this. I want to display 3 timers running at different count down times on the same page. I can display 3 timers but only the top one counts down. Any ideas,
Thanks,
Mike
September 10th, 2007 at 9:19 am
Hey, more surprisingly, Its WORKING WELL.
Thanks. I am astonished to see, the comments given by all my friends.
Waiting for all of your reply.
Yours,
Milind
[India]
September 14th, 2007 at 7:44 am
i jus wan the mins, secs and msecs part only. how to modify it?
September 24th, 2007 at 6:39 pm
Last Monday a string of amendments were presented to the lower house; these altogether respect personal liberty… Sen. WILLIAM GRAYSON of Virginia in a letter to Patrick Henry.
ati card driver technologies video
October 9th, 2007 at 9:11 pm
Id like to eliminate the Miliseconds - how can I do that?
also, redirecting after the timer reaches Zero or playing a sound or something would be cool.
Is there anyway to set it to EDT timezone?
thanks much go-test
October 20th, 2007 at 7:50 pm
I never forget a face, but in your case I’ll be glad to make an exception — Groucho Marx
October 22nd, 2007 at 10:37 am
I would have made a good Pope — Richard Nixon
November 1st, 2007 at 5:28 pm
Hi - I’ve found your beautiful count down timer yesterday and I tried it this morning. It worked perfectly the first time and now I want to use it on my site.
But there is one tiny problem: it prints in black in a smaller size and another lay out. Why does the layout did not work?
Can it be that I tested it from my PC?
Thankx in advance
Kelly Anches
The Netherlands
www.coherentsystems.nl
December 13th, 2007 at 10:24 pm
sex daughter amateur sex make amateur
December 16th, 2007 at 10:21 am
very interesting, but I don’t agree with you
Idetrorce
January 1st, 2008 at 11:38 pm
[…] Online Countdown Timer baÅŸlığında paylaşılan ve altta örneÄŸini gördüÄŸünüz sayacı nasıl kullanacağınıza göz atalım. […]
January 22nd, 2008 at 7:41 am
i think i will go to heven
hfdkhdkjhgjbgjhbgjfhjhbgdjk vbjxgbjfb hjbvhjnmbj
djkjgidljglkdjdlkjgkrugigkjirejgigjikr
kldfjgktrhktnitgyhj mnvduryg
bhudryhnhureykjhgduygbuitr
fihotihotrkgolrtgjotrglejoleoe
bdjfighdrkhgreuhgiwtyrieyyhiweryirewtyi
ejiujeiueiuieujikjfierjker
jgireuikeugier
bfkljslfhfdughyuri
February 1st, 2008 at 7:22 am
[…] Countdown Timer Javascript http://blog.go-test.net/2006/07/18/online-countdown-timer/ […]
February 5th, 2008 at 6:46 am
Remove And Block Spyware And Malware From Your Computer…
If your computer is running slow or acting funny it may be that you have spywawre. Check out this site to learn everything there is to know about spyware!…
February 5th, 2008 at 10:21 pm
Get Paris Hilton exposed steamy sex tape video scenes…
Recently leaked footage of the new Paris Hilton sex tape…
March 3rd, 2008 at 10:07 am
jimsotonna…
jimsotonna dropped by…
March 4th, 2008 at 8:02 pm
this is rubbish
March 8th, 2008 at 9:44 am
free car quote…
Excellent post. Keep it up!…
March 19th, 2008 at 1:42 pm
Adware Alert - No Spyware…
I suggest you to take a free scan and remove dangerous spyware and adware from your computer. Even if you think your computer is clean, you should scan and you will be surprised….
March 25th, 2008 at 9:09 am
buy hgh 1000…
buy hgh 1000…
April 16th, 2008 at 7:55 am
just wondering… why does the timer go to zero if the time is the same day