Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

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


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

For me this code works. Why do you think your system's timezone is not GMT+0 ?
  • Comment on Re: why are timegm and timelocal returning the same epoch seconds values

Replies are listed 'Best First'.
Re^2: why are timegm and timelocal returning the same epoch seconds values
by Anonymous Monk on May 14, 2013 at 20:24 UTC

    For me this code works. Why do you think your system's timezone is not GMT+0 ?

    Since the code is incomplete (  Undefined subroutine &main::timelocal called ) how is it possible that this code works for you?

      I googled for "perl timegm" and found that I need to
      use Time::Local;
      Perhaps OP use different module and that's the reason of problem?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-19 03:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found