[squeak-dev] Unix Time

Bert Freudenberg bert at freudenbergs.de
Sun Jan 17 11:56:46 UTC 2010


On 16.01.2010, at 16:08, David T. Lewis wrote:
> 
> 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.

Yes, LocalePlugin isn't widely used yet. Even in Etoys we just use the language and timezone settings.

- Bert -

> It's about time for me to update TimeZoneDatabase (Olsen tz table support)
> to place nice with this.
> 
> Dave
> 
> 





More information about the Squeak-dev mailing list