• 25% Off ALL. 0000000  Code: HLLWN24
function countdown( dateEnd ) { var timer, days, hours, minutes, seconds; dateEnd = new Date( dateEnd ); dateEnd = dateEnd.getTime(); var today = new Date(); Date.prototype.stdTimezoneOffset = function () { var jan = new Date(this.getFullYear(), 0, 1); var jul = new Date(this.getFullYear(), 6, 1); return Math.max(jan.getTimezoneOffset(), jul.getTimezoneOffset()); } Date.prototype.isDstObserved = function () { return this.getTimezoneOffset() < this.stdTimezoneOffset(); } if ( isNaN( dateEnd ) ) { return; } timer = setInterval( calculate, 1000 ); function calculate() { var dateStart = new Date(); var dateStart = new Date( dateStart.getUTCFullYear(), dateStart.getUTCMonth(), dateStart.getUTCDate(), dateStart.getUTCHours(), dateStart.getUTCMinutes(), dateStart.getUTCSeconds() ); var timeRemaining = parseInt( ( dateEnd - dateStart.getTime() ) / 1000 ); if ( timeRemaining >= 0 ) { days = parseInt( timeRemaining / 86400 ); timeRemaining = ( timeRemaining % 86400 ); if (today.isDstObserved()) { hours = parseInt( timeRemaining / 3600 ); } else { hours = parseInt( (timeRemaining / 3600) - 1 ); } timeRemaining = ( timeRemaining % 3600 ); minutes = parseInt( timeRemaining / 60 ); timeRemaining = ( timeRemaining % 60 ); seconds = parseInt( timeRemaining ); var daysClass = document.getElementsByClassName( "days671b89411261e" ); var hoursClass = document.getElementsByClassName( "hours671b89411261e" ); var minutesClass = document.getElementsByClassName( "minutes671b89411261e" ); var secondsClass = document.getElementsByClassName( "seconds671b89411261e" ); for(var i = 0; i < daysClass.length; i++) { daysClass[i].innerHTML = parseInt( days, 10 ); } for(var i = 0; i < hoursClass.length; i++) { hoursClass[i].innerHTML = ( "0" + hours ).slice( -2 ); } for(var i = 0; i < minutesClass.length; i++) { minutesClass[i].innerHTML = ( "0" + minutes ).slice( -2 ); } for(var i = 0; i < secondsClass.length; i++) { secondsClass[i].innerHTML = ( "0" + seconds ).slice( -2 ); } document.getElementById( "countDown671b89411261e" ).classList.remove("spin"); if ( parseInt( days, 10 ) == 1 ) { for(var i = 0; i < daysClass.length; i++) { daysClass[i].classList.add("one"); } } if ( parseInt( days, 10 ) == 0 ) { for(var i = 0; i < daysClass.length; i++) { daysClass[i].classList.add("hide"); } } } else { document.getElementById( "countDown671b89411261e" ).innerHTML = "Aktion beendet"; } } function display( days, hours, minutes, seconds ) {} } countdown( '2024-11-01T00:00:00+01:00' );
  • 25% Off ALL. 0000000  Code: HLLWN24
function countdown( dateEnd ) { var timer, days, hours, minutes, seconds; dateEnd = new Date( dateEnd ); dateEnd = dateEnd.getTime(); var today = new Date(); Date.prototype.stdTimezoneOffset = function () { var jan = new Date(this.getFullYear(), 0, 1); var jul = new Date(this.getFullYear(), 6, 1); return Math.max(jan.getTimezoneOffset(), jul.getTimezoneOffset()); } Date.prototype.isDstObserved = function () { return this.getTimezoneOffset() < this.stdTimezoneOffset(); } if ( isNaN( dateEnd ) ) { return; } timer = setInterval( calculate, 1000 ); function calculate() { var dateStart = new Date(); var dateStart = new Date( dateStart.getUTCFullYear(), dateStart.getUTCMonth(), dateStart.getUTCDate(), dateStart.getUTCHours(), dateStart.getUTCMinutes(), dateStart.getUTCSeconds() ); var timeRemaining = parseInt( ( dateEnd - dateStart.getTime() ) / 1000 ); if ( timeRemaining >= 0 ) { days = parseInt( timeRemaining / 86400 ); timeRemaining = ( timeRemaining % 86400 ); if (today.isDstObserved()) { hours = parseInt( timeRemaining / 3600 ); } else { hours = parseInt( (timeRemaining / 3600) - 1 ); } timeRemaining = ( timeRemaining % 3600 ); minutes = parseInt( timeRemaining / 60 ); timeRemaining = ( timeRemaining % 60 ); seconds = parseInt( timeRemaining ); var daysClass = document.getElementsByClassName( "days671b8941128e5" ); var hoursClass = document.getElementsByClassName( "hours671b8941128e5" ); var minutesClass = document.getElementsByClassName( "minutes671b8941128e5" ); var secondsClass = document.getElementsByClassName( "seconds671b8941128e5" ); for(var i = 0; i < daysClass.length; i++) { daysClass[i].innerHTML = parseInt( days, 10 ); } for(var i = 0; i < hoursClass.length; i++) { hoursClass[i].innerHTML = ( "0" + hours ).slice( -2 ); } for(var i = 0; i < minutesClass.length; i++) { minutesClass[i].innerHTML = ( "0" + minutes ).slice( -2 ); } for(var i = 0; i < secondsClass.length; i++) { secondsClass[i].innerHTML = ( "0" + seconds ).slice( -2 ); } document.getElementById( "countDown671b8941128e5" ).classList.remove("spin"); if ( parseInt( days, 10 ) == 1 ) { for(var i = 0; i < daysClass.length; i++) { daysClass[i].classList.add("one"); } } if ( parseInt( days, 10 ) == 0 ) { for(var i = 0; i < daysClass.length; i++) { daysClass[i].classList.add("hide"); } } } else { document.getElementById( "countDown671b8941128e5" ).innerHTML = "Aktion beendet"; } } function display( days, hours, minutes, seconds ) {} } countdown( '2024-11-01T00:00:00+01:00' );
Shirts
Show filters
Filter