<div dir="ltr">Hi All,<div><br></div><div>    how does one produce a nice timestamp, simply date and time as in</div><div><br></div><div><div>    7/7/2016 09:19:38</div><div><br></div><div>Trivial, right?</div><div><br></div><div>So</div><div><div><br></div><div>    Date today mmddyyyy, &#39; &#39;, Time now print24 &#39;7/7/2016 09:22:40.914&#39;</div></div><div><br></div><div>.914, ah, nanos.  How useful.  Let&#39;s get rid of them.  No nanos: accessor so</div><div><br></div><div>    Date today mmddyyyy, &#39; &#39;, (Time now nanos: 0) print24 =&gt; MNU</div><div><br></div><div>but there&#39;s a seconds accessor, so</div><div><br></div><div>    Date today mmddyyyy, &#39; &#39;, (Time now seconds: Time now seconds; print24) &#39;7/7/2016 00:00:41</div><div><br></div><div>??  So seconds: is private, and isn&#39;t the dual of Time seconds:</div><div><br></div><div><div>Time seconds</div><div><span class="" style="white-space:pre">        </span>^ self second</div></div><div><div>Time second</div><div><span class="" style="white-space:pre">        </span>^ self asDuration seconds</div></div><div><div>Duration seconds</div><div><span class="" style="white-space:pre">        </span>&quot;Answer the number of seconds the receiver represents.&quot;</div><div><span class="" style="white-space:pre">        </span>^seconds rem: SecondsInMinute</div></div><div><br></div><div>Looks broken to me.</div><div><br></div><div>Personally I think print24 should not print sub seconds.</div><div><br></div><div>cc&#39;ing to Pharo because I want this timestamp to be the same in both dialects for a profiling tool we want to use in both dialects.</div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>