<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Senthil Kumaran (Posts about time)</title><link>http://senthil.learntosolveit.com/</link><description></description><atom:link href="http://senthil.learntosolveit.com/categories/time.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><lastBuildDate>Mon, 12 Oct 2026 02:53:49 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Just wait a Second.</title><link>http://senthil.learntosolveit.com/posts/2009/01/01/just-wait-a-second.html</link><dc:creator>Senthil Kumaran</dc:creator><description>&lt;p&gt;A 
        &lt;span class="wikipedia_tooltip"&gt;&lt;a href="https://en.wikipedia.org/wiki/Leap_second" target="_blank"&gt;Leap second&lt;/a&gt;
            &lt;span class="wikipedia_summary"&gt;
            &lt;a href="https://en.wikipedia.org/wiki/Leap_second" target="_blank" class="wikipedia_wordmark"&gt;
              &lt;img src="https://upload.wikimedia.org/wikipedia/commons/b/bb/Wikipedia_wordmark.svg"&gt;
              &lt;span class="wikipedia_icon"&gt;&lt;/span&gt;
            &lt;/a&gt;
            A leap second (sometimes called intercalary second) is a one-second adjustment occasionally applied to Coordinated Universal Time (UTC), to accommodate the difference between International Atomic Time (TAI), as measured precisely by atomic clocks, and observed solar time (UT1), which varies due to irregularities and long-term slowdown in the Earth's rotation.
            &lt;/span&gt;
        &lt;/span&gt; has been added to this year, according to the official time keepers at the 
        &lt;span class="wikipedia_tooltip"&gt;&lt;a href="https://en.wikipedia.org/wiki/International_Earth_Rotation_and_Reference_Systems_Service" target="_blank"&gt;International Earth Rotation and Reference Systems Service&lt;/a&gt;
            &lt;span class="wikipedia_summary"&gt;
            &lt;a href="https://en.wikipedia.org/wiki/International_Earth_Rotation_and_Reference_Systems_Service" target="_blank" class="wikipedia_wordmark"&gt;
              &lt;img src="https://upload.wikimedia.org/wikipedia/commons/b/bb/Wikipedia_wordmark.svg"&gt;
              &lt;span class="wikipedia_icon"&gt;&lt;/span&gt;
            &lt;/a&gt;
            The International Earth Rotation and Reference Systems Service (IERS), formerly the International Earth Rotation Service, is the body responsible for maintaining global time and reference frame standards, notably through its Earth Orientation Parameter (EOP) and International Celestial Reference System (ICRS) groups.
            &lt;/span&gt;
        &lt;/span&gt; (http://hpiers.obspm.fr/iers/bul/bulc/bulletinc.dat).&lt;/p&gt;
&lt;p&gt;So our clocks at Bangalore should have been:&lt;/p&gt;
&lt;p&gt;1 Jan,2009&lt;/p&gt;
&lt;p&gt;5:29:58&lt;/p&gt;
&lt;p&gt;5:29:59&lt;/p&gt;
&lt;p&gt;5:29:60 &amp;lt;--- Hurray!&lt;/p&gt;
&lt;p&gt;5:30:00&lt;/p&gt;
&lt;p&gt;This adjustment helps maintain the synchronization between 
        &lt;span class="wikipedia_tooltip"&gt;&lt;a href="https://en.wikipedia.org/wiki/Coordinated_Universal_Time" target="_blank"&gt;Coordinated Universal Time&lt;/a&gt;
            &lt;span class="wikipedia_summary"&gt;
            &lt;a href="https://en.wikipedia.org/wiki/Coordinated_Universal_Time" target="_blank" class="wikipedia_wordmark"&gt;
              &lt;img src="https://upload.wikimedia.org/wikipedia/commons/b/bb/Wikipedia_wordmark.svg"&gt;
              &lt;span class="wikipedia_icon"&gt;&lt;/span&gt;
            &lt;/a&gt;
            Coordinated Universal Time (UTC) is the primary time standard globally used to regulate clocks and time. It establishes a reference for the current time, forming the basis for civil time and time zones. UTC facilitates international communication, navigation, scientific research, and commerce.
            &lt;/span&gt;
        &lt;/span&gt; and the Earth's rotation.&lt;/p&gt;</description><category>calendar</category><category>leap second</category><category>time</category><guid>http://senthil.learntosolveit.com/posts/2009/01/01/just-wait-a-second.html</guid><pubDate>Thu, 01 Jan 2009 18:53:00 GMT</pubDate></item><item><title>Captured Unix time 1111111111</title><link>http://senthil.learntosolveit.com/posts/2005/03/18/captured-unix-time-1111111111.html</link><dc:creator>Senthil Kumaran</dc:creator><description>&lt;p&gt;&lt;img alt="Image" src="http://photos5.flickr.com/6761548_645d3fb5aa_m.jpg"&gt;&lt;/p&gt;
&lt;p&gt;Well, it's like being there during 22/2/2222! Just for a rough comparison to
Gagan, whom I found very difficult to persuade as to what's so special about
this.&lt;/p&gt;
&lt;p&gt;
        &lt;span class="wikipedia_tooltip"&gt;&lt;a href="https://en.wikipedia.org/wiki/Unix_time" target="_blank"&gt;Unix time&lt;/a&gt;
            &lt;span class="wikipedia_summary"&gt;
            &lt;a href="https://en.wikipedia.org/wiki/Unix_time" target="_blank" class="wikipedia_wordmark"&gt;
              &lt;img src="https://upload.wikimedia.org/wikipedia/commons/b/bb/Wikipedia_wordmark.svg"&gt;
              &lt;span class="wikipedia_icon"&gt;&lt;/span&gt;
            &lt;/a&gt;
            Unix time is a date and time representation widely used in computing. It measures time by the number of non-leap seconds that have elapsed since 00:00:00 UTC on 1 January 1970, the Unix epoch. For example, at midnight on 1 January 2010, Unix time was 1262304000.
            &lt;/span&gt;
        &lt;/span&gt; &lt;a href="http://www.onlineconversion.com/unix_time.htm"&gt;2222222222&lt;/a&gt; will be on Sat, 02 Jun 2040 03:57:02 GMT.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;perl -e 'print scalar gmtime(1111111111), "\n"'&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Anonymous&lt;/em&gt;&lt;/p&gt;</description><category>milestone</category><category>time</category><category>unix</category><guid>http://senthil.learntosolveit.com/posts/2005/03/18/captured-unix-time-1111111111.html</guid><pubDate>Fri, 18 Mar 2005 15:21:00 GMT</pubDate></item><item><title>1111111111</title><link>http://senthil.learntosolveit.com/posts/2005/03/17/1111111111.html</link><dc:creator>Senthil Kumaran</dc:creator><description>&lt;h2&gt;Unix Time Script&lt;/h2&gt;
&lt;p&gt;This script waits until the Unix time reaches a specific value (&lt;code&gt;1111111111&lt;/code&gt;) and then prints the current time and date.&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;&lt;span class="ch"&gt;#!/bin/bash&lt;/span&gt;

&lt;span class="k"&gt;while&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;$(&lt;/span&gt;date&lt;span class="w"&gt; &lt;/span&gt;+%s&lt;span class="k"&gt;)&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;!&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1111111111&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;
&lt;span class="k"&gt;do&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="nb"&gt;echo&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Not Yet!"&lt;/span&gt;
&lt;span class="k"&gt;done&lt;/span&gt;

&lt;span class="nb"&gt;echo&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Unix Time"&lt;/span&gt;

date&lt;span class="w"&gt; &lt;/span&gt;+%s

&lt;span class="nb"&gt;echo&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"on &lt;/span&gt;&lt;span class="k"&gt;$(&lt;/span&gt;date&lt;span class="k"&gt;)&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;
&lt;span class="nb"&gt;echo&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"so we captured the history!"&lt;/span&gt;

&lt;span class="nb"&gt;exit&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;0&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;</description><category>bash</category><category>scripting</category><category>time</category><category>unix</category><guid>http://senthil.learntosolveit.com/posts/2005/03/17/1111111111.html</guid><pubDate>Fri, 18 Mar 2005 06:26:00 GMT</pubDate></item></channel></rss>