Countdown clock

.clock { width: 650px; position: absolute; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); }
$(document).ready(function() { let clock; // Grab the current date let currentDate = new Date(); // Target future date/24 hour time/Timezone let targetDate = moment.tz("2022-11-28 23:59", "Australia/Sydney"); // Calculate the difference in seconds between the future and current date let diff = targetDate / 1000 - currentDate.getTime() / 1000; if (diff <= 0) { // If remaining countdown is 0 clock = $(".clock").FlipClock(0, { clockFace: "DailyCounter", countdown: true, autostart: false }); console.log("Date has already passed!") } else { // Run countdown timer clock = $(".clock").FlipClock(diff, { clockFace: "DailyCounter", countdown: true, callbacks: { stop: function() { console.log("Timer has ended!") } } }); // Check when timer reaches 0, then stop at 0 setTimeout(function() { checktime(); }, 1000); function checktime() { t = clock.getTime(); if (t <= 0) { clock.setTime(0); } setTimeout(function() { checktime(); }, 1000); } } });
Free Shipping.

All orders of $75 or more of eligible items across any product category qualify.

Payment Methods.

Credit Card: Visa, MasterCard, American Express.

Returns & Refunds.

You can return any item purchased within 30 days of the delivery date.

We use cookies to provide you with best possible experience. They also allow us to analyze user behaviour in order to constantly improve the website for you.