From: Lloyd Linklater Date: 2007-09-27T01:07:28+09:00 Subject: Re: Finding the last Sunday of a month Lloyd Linklater wrote: > t = Time.gm(2007, 'feb', 1, 1, 1, 1) # to find for January > p (t - (one_day * t.wday)).day oops. one_day = 86400 -- Posted via http://www.ruby-forum.com/.