Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: calculate time(days)

by seanbo (Chaplain)
on Apr 04, 2002 at 21:36 UTC ( [id://156778]=note: print w/replies, xml ) Need Help??


in reply to calculate time(days)

you could:
use Date::Manip; $d=&DateCalc($start,$end); if($d eq "+0:0:0:0:2:0:0") #2 hours { print "two hours\n"; } else { print "not two hours\n"; }

...or something like that

perl -e 'print reverse qw/o b n a e s/;'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-20 04:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found