Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Comparing DateTime objects in different timezones

by haukex (Archbishop)
on Nov 01, 2017 at 10:50 UTC ( [id://1202508]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $diff_sec = $dt2->subtract_datetime_absolute($dt1)
        ->in_units('seconds');
    

Log In?
Username:
Password:

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

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

      No recent polls found