Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^5: Determing Week Ranges between given date range?

by ikegami (Pope)
on Oct 12, 2010 at 22:51 UTC ( #864968=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Determing Week Ranges between given date range?
in thread Determing Week Ranges between given date range?

Yeah, that's functionally equivalent, but I wanted to keep the two halves of the equation separate (calculating the last day of the week and calculating the number of days until the last day of the week). In mine, ($first_dow + 6) can be replaced with $last_dow.


Comment on Re^5: Determing Week Ranges between given date range?
Select or Download Code
Re^6: Determing Week Ranges between given date range?
by mojotoad (Monsignor) on Oct 13, 2010 at 06:09 UTC
    How dare you introduce clarity!

    Cheers,
    Matt

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2014-10-31 06:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (215 votes), past polls