in reply to Comparing two dates and getting back difference in days
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