From: Tim Hunter Date: 2003-12-27T06:41:52+09:00 Subject: Re: newbie question on how to subtract two dates. On Sat, 27 Dec 2003 06:18:33 +0900, Ruby Ruby wrote: > Is there a ruby method that will allow me to perform something like: > today - x and get yesterday? > Check out the Date class. http://www.ruby-doc.org/stdlib/libdoc/date/rdoc/files/date_rb.html