const maxDiff = 45000 const local = (new Date()).getTime() const diff = 1738727905326 - local if ( diff > maxDiff || diff < -maxDiff ) { document.getElementById("timeDifferenceWarning").style.display = "block" console.warn("Time diff : " + diff + " based on local epoch time : " + local) }