Results 1 to 2 of 2
Aug 26, 2011, 21:55 #1
- Join Date
- Dec 2004
- 0 Post(s)
- 0 Thread(s)
extract unique months from date range
I have a date range, (@calendar_start..@calendar_end).
start will always be the first of the month and end will always be the last of the month. They won't always share the same month.
When looping over this range, I would like to stop at the end of the month, fill in the remaining filler dates (end of the week) and start a new list of the next month (I'm building a calendar as a unordered list).
What is the best method to exit, complete month view and continue on with the loop for the remaining time?
Hope I'm somewhat clear enough…*it's a little late.
Thanks.your brain reacts in the same way whether you are
looking at something or thinking about it...