From: Joel VanderWerf Date: 2009-07-02T02:54:19+09:00 Subject: Re: date time subtraction Joel VanderWerf wrote: > See the Time class for details. You can also directly compare time > objects (without using to_i to get seconds since the epoch): And you can also subtract Time objects to get seconds: irb(main):016:0> t - Time.now => 27032.573318 -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407