Main Page: Difference between revisions
From PhysWiki
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
</span>]] | </span>]] | ||
== Javascript Clock == | |||
<!DOCTYPE html> | |||
<html> | |||
<body onload="startTime()"> | |||
<h2>Bully Row Galactic Time:</h2> | |||
<div id="txt"></div> | |||
<script> | |||
function startTime() { | |||
const now = new Date(); | |||
const Jun_21_1998_noon_UTC = 898430400000; | |||
const TAI_leap_milliseconds = 37000; | |||
const anchor_byte3 = parseInt("8209", 16); | |||
const anchor_byte2 = parseInt("28E9", 16); | |||
const anchor_byte1 = parseInt("F800", 16); | |||
let Tta = (now.getTime() - (Jun_21_1998_noon_UTC - TAI_leap_milliseconds)) / 30550; | |||
let Tta_dec = Tta % 100; | |||
Tta = ((Tta - Tta_dec) / 100) + anchor_byte1; | |||
let Tta_hex3 = (Tta % 16**4); | |||
Tta = ((Tta - Tta_hex3) / 16**4) + anchor_byte2; | |||
let Tta_hex2 = (Tta % 16**4); | |||
Tta = ((Tta - Tta_hex2) / 16**4) + anchor_byte3; | |||
document.getElementById('txt').innerHTML = "<h1>" + Tta.toString(16).toUpperCase().padStart(4, "0") + " " + Tta_hex2.toString(16).toUpperCase().padStart(4, "0") + " " + Tta_hex3.toString(16).toUpperCase().padStart(4, "0") + "</h1>" + " + " + Tta_dec.toFixed(2) + "% (Tta)" + "<br /><br /><br />Local Time:<br />" + now + "<br />" + now.toUTCString(); | |||
setTimeout(startTime, 305); | |||
} | |||
</script> | |||
</body> | |||
</html> | |||
[https://www.youtube.com/embed/wf-4vexIOqc?si=oyfaNLWsyD82zyZ_| The Bully Row Anthem (Alan Doyle Cover)] | [https://www.youtube.com/embed/wf-4vexIOqc?si=oyfaNLWsyD82zyZ_| The Bully Row Anthem (Alan Doyle Cover)] |
Revision as of 22:20, 14 December 2023
The current Bully Row (12 Digit Hex) is:
Count to next Bully Row:
( 1346 sec / 3055 sec ) = 44.059%
This page was loaded at:
2025-06-29 05:11:00 (UTC)
(Update page)
Javascript Clock
<!DOCTYPE html> <html>
<body onload="startTime()">
Bully Row Galactic Time:
<script> function startTime() {
const now = new Date(); const Jun_21_1998_noon_UTC = 898430400000; const TAI_leap_milliseconds = 37000; const anchor_byte3 = parseInt("8209", 16); const anchor_byte2 = parseInt("28E9", 16); const anchor_byte1 = parseInt("F800", 16);
let Tta = (now.getTime() - (Jun_21_1998_noon_UTC - TAI_leap_milliseconds)) / 30550; let Tta_dec = Tta % 100; Tta = ((Tta - Tta_dec) / 100) + anchor_byte1;
let Tta_hex3 = (Tta % 16**4); Tta = ((Tta - Tta_hex3) / 16**4) + anchor_byte2;
let Tta_hex2 = (Tta % 16**4); Tta = ((Tta - Tta_hex2) / 16**4) + anchor_byte3;
document.getElementById('txt').innerHTML = "
" + Tta.toString(16).toUpperCase().padStart(4, "0") + " " + Tta_hex2.toString(16).toUpperCase().padStart(4, "0") + " " + Tta_hex3.toString(16).toUpperCase().padStart(4, "0") + "
" + " + " + Tta_dec.toFixed(2) + "% (Tta)" + "
Local Time:
" + now + "
" + now.toUTCString();
setTimeout(startTime, 305);
}
</script>
</body> </html>