Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Moon phase on historical events

by bliako (Monsignor)
on Oct 29, 2021 at 15:02 UTC ( [id://11138217]=note: print w/replies, xml ) Need Help??


in reply to Re: Moon phase on historical events
in thread Moon phase on historical events

Good point. The answer is I don't know, I assumed that DateTime would handle that. It seems there is something relevant here https://metacpan.org/pod/DateTime::TimeZone#$tz-%3Eoffset_for_datetime(-$dt-)

Given a DateTime object, this method returns the offset in seconds for + the given datetime. This takes into account historical time zone inf +ormation, as well as Daylight Saving Time. The offset is determined b +y looking at the object's UTC Rata Die days and seconds.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-20 01:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found