timestamp
Chris Muller
afunkyobject at yahoo.com
Mon Feb 10 18:24:47 UTC 2003
Hi Janet,
You might also try the Ma time objects package I uploaded recently. With that,
you have a gorgeous API for dealing with time:
To get the current time:
MaCalendarTime now
You can also do arithmetic to get a MaDuration object:
startTime - endTime
Once you have that, you can find out how many days, seconds, etc. are in that
duration.
(startTime - endTime) totalDays
Good luck!
- Chris
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
More information about the Squeak-dev
mailing list
|