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

Re^3: Time::Piece reversibility

by hippo (Bishop)
on Jun 17, 2017 at 23:26 UTC ( [id://1193028]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Time::Piece reversibility
in thread Time::Piece reversibility

it's still showing as 5pm rather than 10am:

Yes, that's definitely the problem. It seems that localtime is changing the epoch as well as setting the offset so you're always getting back to the same displayed hour when you apply both (and gmtime is of course doing neither). Good spot.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-23 12:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found