// Set the date we're counting down to // Update the count down every 1 second // Get today's date and time // Find the distance between now and the count down date // Time calculations for days, hours, minutes and seconds // Output the result in an element with id="demo" // document.getElementById("expireTimer").innerHTML = "Valid for: " + days + " day(s) " + hoursV2 + ":" + minutesV2 + ":" + secondsV2; // If the count down is over, write some text