|
|
| Welcome to the Monastery | |
| PerlMonks |
Re^5: Determing Week Ranges between given date range?by ikegami (Patriarch) |
| on Oct 12, 2010 at 22:51 UTC ( [id://864968]=note: print w/replies, xml ) | Need Help?? |
|
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.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||