Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: days between dates

by SuicideJunkie (Priest)
on Mar 15, 2013 at 14:22 UTC ( #1023708=note: print w/ replies, xml ) Need Help??

in reply to days between dates

Your first step should be to print out the contents of your variables at each step and see where your assumptions become false.

The zeroth step should be to use a CPAN module to do the date math for you since it will handle all the edge cases you missed.

Comment on Re: days between dates

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (20)
As of 2015-07-01 19:59 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (19 votes), past polls