P
Parv G.
Hi,
This might be simple question for some you so.
I'm trying to compare today's dates with another date, which is in the
format of mm/dd/yy. Can somebody help?
I tried the following, but it doesn't work:
require 'date'
if(Date.today <=> "09/29/06") or (Date.today <=> "092906")
.....
else
....
end
Thanks.
This might be simple question for some you so.
I'm trying to compare today's dates with another date, which is in the
format of mm/dd/yy. Can somebody help?
I tried the following, but it doesn't work:
require 'date'
if(Date.today <=> "09/29/06") or (Date.today <=> "092906")
.....
else
....
end
Thanks.