Time now and system time

Lex Spoon lex at cc.gatech.edu
Mon Jun 9 13:06:30 UTC 2003


Derek Brans <brans at nerdonawire.com> wrote:
> I set my TZ environment variable to EST8EDT and that did the trick.  Time
> class>>now evaluates to the correct time.

It would be nice to know why Squeak needs this but "date" does not.  The
code simply uses gettimeofday(), and so I would think you'd get the same
time from both places......  What does "date" do, if not gettimeofday()
?!?!

Incidentally, my time comes out correctly in Squeak on Debian, for
whatever reason.  

Lex



More information about the Squeak-dev mailing list