From: Rob Biedenharn Date: 2011-01-22T03:18:06+09:00 Subject: Re: Timestamp difference On Jan 21, 2011, at 12:46 PM, Benjamin Fowl wrote: > How would you find out whether the time difference of one timestamp is > greater than 5? > > I've tried this > > (old_time - Time.now) > 5 > In addition to the other responses, I'll point out that you have (past - now) which will always be <=0 the therefore NEVER > 5. -Rob Rob Biedenharn Rob@AgileConsultingLLC.com http://AgileConsultingLLC.com/ rab@GaslightSoftware.com http://GaslightSoftware.com/