in reply to Re: time() off
in thread time() off

And the point of that was?...My localtime is off too...
perl -e "print scalar localtime();" = Thu Sep 9 13:42:34 2004
and its not 1:42 pm right now...

Replies are listed 'Best First'.
Re^3: time() off
by ysth (Canon) on Sep 09, 2004 at 14:44 UTC
    The point of that was (I would guess) to point out that time() is supposed to be UTC-based, with gmtime and localtime available to display it according to your whim. It's only now that we hear that localtime() is giving you a problem.
Re^3: time() off
by edan (Curate) on Sep 09, 2004 at 13:53 UTC

    Maybe your system clock is wrong? Are you on a *nixy system? What do you get when you type "date" at your friendly local shell prompt?

    --
    edan