Hi,
rows = Table.find(:all,
:conditions => ["? BETWEEN start_time AND
end_time",
DateTime.now])
doesn't work??
Thanks,
Ram
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:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs