Main Page: Difference between revisions

From PhysWiki
No edit summary
No edit summary
Line 13: Line 13:
</span>]]
</span>]]


== Javascript Clock ==
== Javascript Bully Row Clock ==


<syntaxhighlight lang="javascript" start="1">
<syntaxhighlight lang="javascript" start="1">
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html>
Line 31: Line 30:
   const Jun_21_1998_noon_UTC = 898430400000;
   const Jun_21_1998_noon_UTC = 898430400000;
   const TAI_leap_milliseconds = 37000;
   const TAI_leap_milliseconds = 37000;
  const now_tai = now - TAI_leap_milliseconds;
   const anchor_byte3 = parseInt("8209", 16);
   const anchor_byte3 = parseInt("8209", 16);
   const anchor_byte2 = parseInt("28E9", 16);
   const anchor_byte2 = parseInt("28E9", 16);
Line 45: Line 45:
   Tta = ((Tta - Tta_hex2) / 16**4) + anchor_byte3;
   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();
   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 />Unix Timestamps<br />" + now_tai + " TAI<br />" + now.getTime() + " UTC<br /><br />Your Local Time:<br />" + now;
 
   setTimeout(startTime, 305);
   setTimeout(startTime, 305);
}
}


</script>
</script>
<br />
<a href=“https://bullyrow.eeyabo.net”>Bully Row Discussion Wiki</a>


</body>
</body>
</html>
</html>
</syntaxhighlight>
</syntaxhighlight>


[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 00:00, 15 December 2023

The current 12 Digit Bully Row Hex is:

Template:Hex12

Count to next Bully Row:

( 1170 sec / 3055 sec ) = 38.298%


This page was loaded at: 2025-04-30 10:58:54 (UTC) (Update page)

Javascript Bully Row 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 now_tai = now - TAI_leap_milliseconds;
  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 />Unix Timestamps<br />" + now_tai + " TAI<br />" + now.getTime() + " UTC<br /><br />Your Local Time:<br />" + now;

  setTimeout(startTime, 305);
}

</script>

<br />
<a href=https://bullyrow.eeyabo.net”>Bully Row Discussion Wiki</a>

</body>
</html>

The Bully Row Anthem (Alan Doyle Cover)