in reply to Re^2: Time zones
in thread Time zones

If you care about the time difference between two places, then ask for that. Instead, you asked:

If I'm using a machine that is on GMT time, how can I convert that time to EST using a standard Perl 5.6.1 installation?

And the answer is "subtract five hours". Always.

Replies are listed 'Best First'.
Re^4: Time zones
by Anonymous Monk on Sep 30, 2004 at 14:53 UTC
    And like I just posted above, I know there is always a 5 hour difference.

    I also mentioned in my OP "I can't simply add 5 hours to GMT time because daylight savings time isn't always the same between zones.". Please don't quote me selectively.

    A reply falls below the community's threshold of quality. You may see it by logging in.