A simple JavaScript plugin for producing an accurate, intuitive description of the timespan between two date instances.
In order the countdown plugin to work you must add the following scripts in your page. Make sure that all the javascript files are inserted at the end of the page so it doesn't slowdown the page's loading speed.
<script src="/assets/vendor/countdown/js/jquery.countdown.min.js"></script>
data-countdown-date
with the date you want to use. The date formate must be
MM/DD/YYY.
data-countdown-label="show"
or data-countdown-label="hide"
attribute. Add it on the countdown
container.
.countdown-sm
to decrease the countdown's size.