Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 nobody stirs...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2017-10-17 22:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (238 votes). Check out past polls.

    Notices?