Main Page: Difference between revisions

From PhysWiki
No edit summary
No edit summary
Line 15: Line 15:
== Javascript Clock ==
== Javascript Clock ==


<code>
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html>
Line 51: Line 52:
</body>
</body>
</html>
</html>
 
</code>
[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:

Template:Hex12

Count to next Bully Row:

( 977 sec / 3055 sec ) = 31.98%


This page was loaded at: 2025-04-30 10:55:40 (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> The Bully Row Anthem (Alan Doyle Cover)