![]() |
|
"be consistent" | |
PerlMonks |
Re: Comparing two dates and getting back difference in daysby phydeauxarff (Priest) |
on Jan 21, 2004 at 17:37 UTC ( #322956=note: print w/replies, xml ) | Need Help?? |
Throwing in one more thing to consider when comparing dates... I use date::business because I typically need to figure out how many "business days" have passed and this module does a good job of not only figuring the weekdays, but also allows you to skip holidays. using the diffb() function in this module will count the number of days between a Friday and a Monday as 1.
In Section
Seekers of Perl Wisdom
|
|