Countdown.js  – A simple JavaScript API for producing an accurate, intuitive description of the timespan between two Date instances.

The library calculates the value continuously considering “the time goes on” and keeps generating an accurate output. It can provide the timespan in many formats like milliseconds, seconds, minutes, hours, days, weeks and even millennias.

There are methods for displaying it as an English sentence like “3 years, 6 months, 21 days, 10 hours, and 32 minutes”.

The countdown can be reset easily and there are callbacks both on

start

and

end

.

Website: http://countdownjs.org/
Demo: http://countdownjs.org/demo.html

0 Shares:
Leave a Reply

Your email address will not be published. Required fields are marked *

2 × three =

This site uses Akismet to reduce spam. Learn how your comment data is processed.

You May Also Like

jQuery: Setting cookies

Setting and clearing cookies with jQuery is really easy but it's not included in the jQuery core and requires a plug-in. This post shows how to set, get the value of and clear cookies with jQuery.