in reply to time() off

What do you get if do (at the command prompt):

c:\> SET TZ=EST4 C:\> perl -e"print scalar localtime()"
?

I suspect that your OS has broken timezone handling (you don't say what it is though.)

/J\

Replies are listed 'Best First'.
Re^2: time() off
by ketema (Scribe) on Sep 09, 2004 at 14:33 UTC
    That fixed it. For whatever reason I had a system variable TZ and it was set to EST. Changing it to EST4 worked and my perl time is back! Thanks guys.