DateTime

Hi,

rows = Table.find(:all,
                  :conditions => ["? BETWEEN start_time AND

end_time",
DateTime.now])

doesn't work??

Thanks,
Ram

Time.now.strftime("%Y-%m-%d")
Format the Timestamp in to a SQL Time String.

Ram schrieb: