Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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.

Replies are listed 'Best First'.
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2016-12-09 03:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (148 votes). Check out past polls.