From: Todd Benson Date: 2009-07-14T02:36:41+09:00 Subject: Re: calculating an array of dates > today = Date.today > puts( today + 4 - today.wday) > > ...no need for the while with the -=.  In fact won't the -= always > give you the previous Thursday?  The #step I didn't know about.  Good > advice. > > I didn't test the above code, but I'm pretty sure it will work for all > edge cases. Sorry, should have been more clear. This is simply a demonstration of how to find the current week's Thursday without a loop. The rest of Siep's code makes sense. I'd probably end up doing something crazy. In any case, the added method is probably obscure enough to not affect the base class Date in other applications. Todd