From: Peter Bailey Date: 2007-09-26T23:07:13+09:00 Subject: Re: Finding the last Sunday of a month Thanks to all of you. Mohit's worked for me. It's quite ingenious, actually, because it's simply subtracing the date of the week, which is 3 for Wednesday, from 31, the last day of the month. 31 - 3 = 28, so, Sunday is the 28th. I love Ruby! Thanks again, Peter -- Posted via http://www.ruby-forum.com/.