Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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
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 having an uproarious good time at the Monastery: (6)
As of 2016-06-29 04:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (368 votes). Check out past polls.