Basic Countdown Timer Examples

A simple, lightweight JavaScript library for displaying countdown timers on the web page.

With text

Source:

<time class="countdown" data-lang="en" datetime="2021-12-21T15:16" data-remains="Remains" data-after="." data-ended="The event is over.">2021-12-21T15:16</time>

Rendered:


Without text

Source:

<time class="countdown" datetime="2021-12-21T15:16" data-ended="The event is over.">2021-12-21T15:16</time>

Rendered: