TIME IN ACTION
- Reverse Countdown Till 01 Jan 2022 With Labels
- Reverse Countdown Till 01 Jan 2022 With Regex
- Reverse Countdown Between Startdate And End Date
- Only Seconds Timer
- Only Minutes Timer With Destroy
- Only Hours Timer Without Padzeroes
- Minutes Seconds Timer With Separator Interval
- Hours Seconds Timer Without Seconds Display
- Hours Minutes Timer With Labels
- Hours Minutes Seconds Timer With Pause Stop
- Different Sizes Timer
- Current Time With Timezone And Color Options
- All posts ...
Reverse Countdown Till 01 Jan 2022 With Regex
Oct 25, 2017
Configuration:-
<div id="countdowntimer"><span id="specfuture_date"></span></div>
<script type="text/javascript">
$(function() {
$("#specfuture_date").countdowntimer({
dateAndTime : "2022/01/01 00:00:00",
size : "sm",
displayFormat : "YODHMS",
regexpMatchFormat : "([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2})",
regexpReplaceWith : "$1<sup class='displayformat'>years</sup> / $2<sup class='displayformat'>months</sup> / $3<sup class='displayformat'>days</sup> / $4<sup class='displayformat'>hours</sup> / $5<sup class='displayformat'>minutes</sup> / $6<sup class='displayformat'>seconds</sup>"
});
});
</script>
<style type="text/css">
.displayformat {
font-size : 18px;
font-style : italic;
}
</style>
- Older
- Newer