nord vpnnord vpn
Ad

Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
746 B
1
Indexable
Never
<script>
	var countDownDate = new Date("Jan 01, 2023 <?php echo $hours_ServerSave ?>:<?php echo $minutes_ServerSave ?>:<?php echo $seconds_ServerSave ?>").getTime();
	var x = setInterval(function() {
		var now = new Date().getTime();
		var distance = countDownDate - now;
		var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
		var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
		var seconds = Math.floor((distance % (1000 * 60)) / 1000);

        document.getElementById("timerServerSave").innerHTML = "" + hours + ":" + minutes + ":" + seconds + "";

		if (distance < 0) {
			clearInterval(x);
			document.getElementById("timerServerSave").innerHTML = "Server save now!";
		}
	}, 1000);
</script>

nord vpnnord vpn
Ad