I have a website in progress and not ready yet.I have a welcome page where i want to display a countdown timer until the site is ready.
I'm using countdown.js plugin. and this the script i'm using:
$(document).ready(function() {
"use strict";
$("#countdowncont").countdown({
date: "30 april 2019 12:00:00", /** Enter new date here **/
format: "on"
},
function() {
// callback function
});
});
In the days span i always get "24days" no matter what the date is!!