http://qs321.pair.com?node_id=322956


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.