Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: why are timegm and timelocal returning the same epoch seconds values

by vsespb (Chaplain)
on May 14, 2013 at 21:57 UTC ( [id://1033564]=note: print w/replies, xml ) Need Help??


in reply to Re: why are timegm and timelocal returning the same epoch seconds values
in thread why are timegm and timelocal returning the same epoch seconds values

1. Try extract this subroutine from you script and run it outside of your script.

2. Is your TZ variable set?

3. Try run with env TZ=US/Pacific

4. Try run system tools (like 'date) which report time to make sure they recognize timezone correctly

  • Comment on Re^2: why are timegm and timelocal returning the same epoch seconds values

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1033564]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2024-04-18 12:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found