From: Michael Campbell Date: 2005-11-18T08:17:18+09:00 Subject: Re: Time.yesterday ? :) Marcin Jurczuk writes: > Hello group. > > Is there any simple method to get Time object like Time.now but with > yesterday date, without worrying about end of month or begining new one ? Pedantic to be sure, but keep in mind all the variations on the "... - 86400" scheme universally fail during the Daylight Savings Time cutovers that some of us are unfortunate to have to suffer. Probably this won't affect you. -- I tend to view "truly flexible" by another term: "Make everything equally hard". -- DHH