Comparing dates

hello,

i have to dates :

@date_1 = date.new()

@date_2 = date.new()

i want to compare theses two dates

i have tried

@date_1 > @ date_2 but every time it returns me FALSE

is there a solution .???

thanks

I am still new to all of this but it might be worth a try converting
them to be integers first and then carryinag out the comparison

ie. something like time.now.to_i

then comparing the integers

Hope that helps

On Jun 15, 10:15 am, Mecharek M. <rails-mailing-l…@andreas-