<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Clock on Mike&#39;s Blog</title>
        <link>https://mikerossiter.tech/tags/clock/</link>
        <description>Recent content in Clock on Mike&#39;s Blog</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en-gb</language>
        <lastBuildDate>Thu, 03 Apr 2025 13:04:14 +0100</lastBuildDate><atom:link href="https://mikerossiter.tech/tags/clock/index.xml" rel="self" type="application/rss+xml" /><item>
        <title>The Binary Unix Clock</title>
        <link>https://mikerossiter.tech/posts/the-binary-unix-clock/</link>
        <pubDate>Fri, 30 Sep 2022 10:44:14 +0100</pubDate>
        
        <guid>https://mikerossiter.tech/posts/the-binary-unix-clock/</guid>
        <description>&lt;img src="https://mikerossiter.tech/clock.png" alt="Featured image of post The Binary Unix Clock" /&gt;&lt;h1 id=&#34;the-binary-unix-clock&#34;&gt;The Binary Unix Clock
&lt;/h1&gt;&lt;p&gt;This is the time as your computer or device will see it. &lt;a class=&#34;link&#34; href=&#34;https://en.wikipedia.org/wiki/Unix_time&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;
    &gt;More info about Unix Time&lt;/a&gt;&lt;/p&gt;
&lt;body&gt;
&lt;style&gt;
body {
    background: #111111;
}
.clock {
    //position: absolute;
    //top: 50%;
    //left: 55%;
	//width: 11em;      
    //background-color: white;       
    //border: 2px solid black;      
    //padding: 10px;      
    word-wrap: break-word;   
    //transform: translateX(-50%) translateY(-50%);
    //color: #000000;
    //font-size: 2pt;
    font-family: &#39;Alegreya Sans SC&#39;, Arial, sans-serif;
    //letter-spacing: 7px;
	font-size:6vw
}
&lt;p&gt;&lt;/style&gt;&lt;/p&gt;
&lt;div id=&#34;DigitalCLOCK&#34; class=&#34;clock&#34; onload=&#34;showTime()&#34;&gt;&lt;/div&gt;
&lt;script&gt;
function showTime(){
    
  var s = (Math.round(Date.now() / 1000)).toString(2); 
    
  var time = s;
  document.getElementById(&#34;DigitalCLOCK&#34;).innerText = time;
    
  setTimeout(showTime, 1000);
    
}
 
showTime();
&lt;/script&gt;
&lt;/body&gt;</description>
        </item>
        
    </channel>
</rss>
