<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><figure class="quote"><figcaption><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="1" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[1]</anchor-end> <cite xml:lang="en">M Technology and MUMPS Language FAQ, Part 1/2</cite>
(<time>2018-11-05 14:30:22 +09:00</time>)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.faqs.org/faqs/m-technology-faq/part1/">http://www.faqs.org/faqs/m-technology-faq/part1/</anchor-external></figcaption><blockquote><p>In M, the current date and time is contained in a special system variable, </p><p>$H (for &quot;HOROLOG&quot;).  The format is a pair of integers separated by a comma, </p><p>e.g. &quot;54321,12345&quot;  The first number is the number of days since December </p><p>31st, 1840, i.e. day number 1 is January 1st, 1841; the second is the number </p><p>of seconds since midnight.</p><p>But why 1841?  According to Steve Clay, sbc@pobox.com, the following </p><p>answer appeared in the &quot;Just Ask!&quot; column of the September 1993 issue of </p><p>&quot;M Computing,&quot; a publication of the M Technology Association, Silver Spring, </p><p>MD 20903 (Phone: 301-431-4070), in the form of a letter from James M. </p><p>Poitras: </p><p><snip xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"></snip></p><p>&quot;When I decided on specifications for the date routine, I remembered reading </p><p>of the oldest (one of the oldest?) U.S. citizen, a Civil War veteran, who </p><p>was 121 years old at the time. Since I wanted to be able to represent dates </p><p>in a Julian-type form so that age could be easily calculated and to be able </p><p>to represent any birth date in the numeric range selected, I decided that a </p><p>starting date in the early 1840s would be 'safe.' Since my algorithm worked </p><p>most logically when every fourth year was a leap year, the first year was </p><p>taken as 1841. The zero point was then December 30, 1840... </p><p>&quot;That's the origin of December 31, 1840 or January 1, 1841. I wasn't party </p><p>to the MDC negotiations, but I did explain the logic of my choice to members </p><p>of the Committee.&quot; </p></blockquote></figure><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="2" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[2]</anchor-end> <cite><strong>[</strong>tz<strong>]</strong> Epic fail for DST fallback in hospital health records</cite>
(<time>2018-11-05 14:27:51 +09:00</time>)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://mm.icann.org/pipermail/tz/2018-November/027181.html">https://mm.icann.org/pipermail/tz/2018-November/027181.html</anchor-external></p><figure class="quote"><figcaption><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="3" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[3]</anchor-end> <cite>M Technology and MUMPS Language FAQ, Part 1/2</cite>
(<time>2017-05-11 01:42:27 +09:00</time>)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://web.archive.org/web/20150828234407/http://www.vmth.ucdavis.edu:80/m/m_faq1.htm">https://web.archive.org/web/20150828234407/http://www.vmth.ucdavis.edu:80/m/m_faq1.htm</anchor-external></figcaption><blockquote><p>In M, the current date and time is contained in a special system variable, </p><p>$H (for &quot;HOROLOG&quot;).  The format is a pair of integers separated by a comma, </p><p>e.g. &quot;54321,12345&quot;  The first number is the number of days since December </p><p>31st, 1840, i.e. day number 1 is January 1st, 1841; the second is the number </p><p>of seconds since midnight.</p></blockquote></figure></body></html>