
NOTE: the default display setting will work for most people Copy and Paste the Source Code into your HTML page.You can preview your script (button at bottom).Generate the HTML and JavaScript code for your countdown (button at bottom).Fill in how you want your countdown to be displayed.Fill in the required target Date and target Time information.Enabling milliseconds uses WAY more processing power, although it shouldn't cause problems unless the computer or browser is very old. Enabling Milliseconds requires the browser to update the countdown about 40 times every second (when disabled it only runs/updates once per second).If you want to change the size, font, or color you can edit the last line of your generated code and add a style="" property like:.Show 01-99+ The number is shown if its value is 1 or more (zero is hidden).A two-digit number is always shown (for 0-9) Show 00-99+ The number is always shown (even if it is a zero).Show 1-99+ The number is shown if its value is 1 or more (zero is hidden).


Any amount that exists is passed on to smaller increments.

This is the third version of this script.
#Countdown timer html javascript generator
The following Javascript generator will help you create a countdown clock that will count down the seconds, minutes, hours, days, weeks, years remaining until your target date.
