[squeak-dev] Unix Time
David T. Lewis
lewis at mail.msen.com
Sat Jan 16 15:08:58 UTC 2010
On Fri, Jan 15, 2010 at 01:11:22PM +0100, Bert Freudenberg wrote:
> On 15.01.2010, at 05:26, Mike Hales wrote:
> > Is there any protocol in the DateAndTime hierarchy that returns the unix time? I want the equivalent of typing "date +%s" on the command line.
> In the latest trunk image, there now is #asUnixTime :)
Very nice! I didn't even know we had a #primitiveTimezoneOffset.
It's about time for me to update TimeZoneDatabase (Olsen tz table support)
to place nice with this.
More information about the Squeak-dev