Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Comparing DateTime objects in different timezones

by haukex (Archbishop)
on Nov 01, 2017 at 10:50 UTC ( #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? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2022-08-17 04:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?