From: Sean Chittenden Date: 2002-03-01T05:20:51+09:00 Subject: Re: Time Comparison > However, when I test this condition using if or assigning the boolean result > to a variable, I get this result: > > second > first. > > I'm using the >= operator to test this condition. > > Why isn't the result correct? It's not incorrect, Ruby Time objects are quite precise (ten thousandth of a second?). You want to case these to an integer using #to_i. -sc -- Sean Chittenden