LIMITED “HOES UP G’S DOWN” RELEASE COLLECTION
LIMITED “HOES UP G’S DOWN” RELEASE COLLECTION
var countDownDate = new Date("Jun 3, 2020 18:00:00").getTime(); var x = setInterval(function() { var now = new Date().getTime(); var distance = countDownDate - now; var days = Math.floor(distance / (1000 * 60 * 60 * 24)); var daysStr = "0" + days.toString(); var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); var hoursStr = "0" + hours.toString(); var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); var minutesStr = "0" + minutes.toString(); var seconds = Math.floor((distance % (1000 * 60)) / 1000); var secondsStr = "0" + seconds.toString(); document.getElementById("countdown").innerHTML = daysStr.substring(daysStr.length -2,daysStr.length) + ":" + hoursStr.substring(hoursStr.length -2,hoursStr.length) + ":" + minutesStr.substring(minutesStr.length -2,minutesStr.length) + ":" + secondsStr.substring(secondsStr.length -2,secondsStr.length); document.getElementById("countdown-mobile").innerHTML = daysStr.substring(daysStr.length -2,daysStr.length) + ":" + hoursStr.substring(hoursStr.length -2,hoursStr.length) + ":" + minutesStr.substring(minutesStr.length -2,minutesStr.length) + ":" + secondsStr.substring(secondsStr.length -2,secondsStr.length); if (distance < 0) { clearInterval(x); document.getElementById("countdown").innerHTML = "SOLD OUT"; document.getElementById("countdown-mobile").innerHTML = "SOLD OUT"; } }, 1000);