[BUG] Chronology DateAndTime class>>now returns incorrect time
John M McIntosh
johnmci at smalltalkconsulting.com
Sat Feb 21 04:28:56 UTC 2004
Which platform is this on?
On Feb 20, 2004, at 8:24 PM, Avi Bryant wrote:
> Compare "DateAndTime now asTime" with "Time now" and your computer
> clock. For me, "Time now" matches the computer clock exactly, whereas
> "DateAndTime now" is off by roughly 15 minutes (and by different
> amounts each time).
> This no doubt has something to do with the conversion in #now between
> the millisecondClock and the nanosecond value that Chronology uses
> internally, but I can't see offhand how to fix it.
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
More information about the Squeak-dev