Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Comparing two dates and getting back difference in days

by phydeauxarff (Priest)
on Jan 21, 2004 at 17:37 UTC ( #322956=note: print w/replies, xml ) Need Help??


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.

  • Comment on Re: Comparing two dates and getting back difference in days

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2023-09-23 19:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?