mirror of
https://github.com/hexahigh/080609.git
synced 2025-12-11 19:55:06 +01:00
beep boop
This commit is contained in:
parent
dca5aa7b59
commit
890009e58b
8
ms.js
8
ms.js
@ -2,13 +2,7 @@ function calculateYearsSince() {
|
||||
const myDate = new Date('2009-06-08');
|
||||
|
||||
const diffInMs = Date.now() - myDate.getTime();
|
||||
const diffInYears = diffInMs / (1000 * 60 * 60 * 24 * 365.25);
|
||||
const days = Math.floor(diffInMs / (1000 * 60 * 60 * 24));
|
||||
const hours = Math.floor(hoursSince())
|
||||
const minutes = Math.floor(diffInMs / 1000 / 60)
|
||||
//const hours = Math.floor((diffInMs % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
||||
//const minutes = Math.floor((diffInMs % (1000 * 60 * 60)) / (1000 * 60));
|
||||
|
||||
|
||||
document.getElementById("number").innerText = diffInMs
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user