Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^3: use of date n time functions

by ZlR (Chaplain)
on Mar 10, 2010 at 11:18 UTC ( #827759=note: print w/replies, xml ) Need Help??

in reply to Re^2: use of date n time functions
in thread use of date n time functions

It's all in the Date::Calc help page : look at the recipes

For instance :

use Date::Calc qw( Delta_Days ); if (Delta_Days($year1,$month1,$day1, $year2,$month2,$day2) > 0)
There's also examples about : How do I compare two dates with times? , which might be just what you need.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2016-10-21 17:03 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (289 votes). Check out past polls.