From 5aa1bf1c4f811c6b9774f2f68727a8af8070a9c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20Salih=20Bozk=C4=B1r?= <150898451+MehmetBozkir@users.noreply.github.com> Date: Mon, 1 Apr 2024 17:23:25 +0300 Subject: [PATCH] Delete app.js --- app.js | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 app.js diff --git a/app.js b/app.js deleted file mode 100644 index a5fcc6b..0000000 --- a/app.js +++ /dev/null @@ -1,26 +0,0 @@ -let countDownDate = new Date("Nov 17, 2023 21:00:00"); - -let x = setInterval(function () { - let now = new Date().getTime(); - - let spentTime = now - countDownDate; - - let day = Math.floor(spentTime / (1000 * 60 * 60 * 24)); - let hour = Math.floor((spentTime % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); - let minute = Math.floor((spentTime % (1000 * 60 * 60)) / (1000 * 60)); - let second = Math.floor((spentTime % (1000 * 60)) / 1000); - let millisecond = Math.floor(spentTime % 1000); - - document.getElementById("time").innerHTML = - "Time Spent: " + - day + - "d " + - hour + - "h " + - minute + - "m " + - second + - "s " + - millisecond + - "ms "; -});