Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Split date range into 3 equal parts

by ansh batra (Friar)
on Dec 08, 2011 at 04:45 UTC ( #942353=note: print w/ replies, xml ) Need Help??


in reply to Split date range into 3 equal parts

use Delta_Days method to calculate number of days between 2 dates
then divide that figure with 2 or 3 whatever you want(since your post says 3 and the example you have given says 2).
then use Add_Delta_Days method to get the date from intial date to next date and so on....


Comment on Re: Split date range into 3 equal parts

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2015-07-05 14:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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









    Results (67 votes), past polls