I'm trying to get my countdown timer to say 0 Yrs, 0 Months, 7 days 0 Mins
etc, but whatever number I try to enter and as much as I try to work it out, I get answers like 7,349 days etc. Here is the code:
// jQuery Countdown styles 1.6.1. - plugin by Keith Wood
function counter_start() {
var austDay = new Date();
austDay = new Date(austDay.getFullYear() - 2016, 0 - 7, 0); // Examples: (austDay.getFullYear() + 1, 3 - 1, 6) or (2013, 3 - 1, 6)
$("#defaultCountdown").countdown({
until: austDay,
format: 'DHMS'
});
}
I've looked and read up and asked other people but it's not my area, and I just don't understand it. Anyone give me a heads up? Many thanks for reading. Jamie.