Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^5: Question regarding Time::Piece and timezones

by Marshall (Canon)
on Jan 23, 2021 at 02:44 UTC ( [id://11127324]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Question regarding Time::Piece and timezones
in thread Question regarding Time::Piece and timezones

I guess that what this nets out to, is that if you log a "local time", you also need the time_zone.

I am in the US Pacific Time Zone (PST).
Once per year, a "day" will have 25 hours.
My wristwatch will wind up showing 1:15 AM twice during that day.
It is Ok that 1:15 AM PST and 1:15 AM PDST converts to a different GMT time,
but the time zone matters.

I recommend converting all times to GMT/UTC within the DB.

  • Comment on Re^5: Question regarding Time::Piece and timezones

Log In?
Username:
Password:

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

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

    No recent polls found