<div dir="ltr">Um...<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 14, 2014 at 5:48 PM, David T. Lewis <span dir="ltr">&lt;<a href="mailto:lewis@mail.msen.com" target="_blank">lewis@mail.msen.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
On Wed, May 14, 2014 at 05:34:42PM -0700, Casey Ransberger wrote:<br>
&gt;<br>
&gt; Below.<br>
&gt;<br>
&gt; &gt; On May 13, 2014, at 10:30 AM, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; The [Cog] vms and the interpreter provide a 64 bit microseconds from 1901 primitive which is good for &gt; 30,000 years.<br>
&gt;<br>
&gt; Where&#39;s the method in VMMaker? Maybe I&#39;ll leave a nice comment for the poor sap who gets the bug in 30,000 years:D<br>
&gt;<br>
<br>
</div></div>There are two primitives available in all current VMs:<br>
<br>
   primitiveUTCMicrosecondClock<br>
       &quot;Answer the UTC microseconds since the Smalltalk epoch. The value is<br>
       derived from the Posix epoch (see primitiveUTCMicrosecondClock) with a<br>
       constant offset corresponding to elapsed microseconds between the two<br>
       epochs according to RFC 868.&quot;<br>
<br>
   primitiveUtcWithOffset<br>
       &quot;Answer an array with UTC microseconds since the Posix epoch and<br>
       the current seconds offset from GMT in the local time zone. An empty<br>
       two element array may be supplied as a parameter.<br>
       This is a named (not numbered) primitive in the null module (ie the VM)&quot;<br></blockquote><div><br></div><div>The primitives in Cog are from the Smalltalk epoch, 1901.  We still have a ways to go.</div><div><br>
</div><div>With 50000 years to play with the Posix epoch really makes no sense to me.  The start of the 20th century is a significant point time.  1970, well we&#39;d already been round the moon, I was 11, hair styles were interesting, blah.</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Dave<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>
</div></div>