Sven Van Caekenberghe wrote
> 
> But are you sure that this is incorrect ?

Hey Sven! It started out as a question about the offset of the epoch.

>From the responses, and some of my own problems in the past, it seems clear
that having an epoch without a specific timezone does not work (see my
example earlier in the thread of converting to seconds, moving to a
different timezone, and converting back to a DateAndTime). As David Lewis
mentioned, we're back in the world of DOS (which is how I got into this mess
to begin with - fixing ZipArchive led me to DOS times, led me to
SqueakEpoch...).

The only way out that I can see is to assume that all times-as-seconds are
in a reference timezone, and the Unix epoch already exists, is widely known,
and specifies UTC, so I used that, as David suggested.

Sean

--
View this message in context: 
http://forum.world.st/Epoch-returns-local-offset-tp4630549p4630717.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.

Reply via email to