Comparing dates


i have to dates :

@date_1 =

@date_2 =

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 .???


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

then comparing the integers

Hope that helps

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