> First: How many of a particular DOW are in a > period. This is just a matter of dividing the > total days by seven then adding one if > needed. If a function were added for this, > then I imagine its more a part of > DateTime::Span rather than DateTime itself.
I already said this. :) > Secondly you ask about getting the weekday of > the month. There's already a function in > DateTime for this: > $dt->weekday_of_month(); Yes - but if we add the above functionality to DT::Span I think we should also have weekday_of_span() or a similar method for finding your location relativity to the start of the span (and not just the current month). -J --
