Displaying 1 result from an estimated 1 matches for "hour_second".
2008 Oct 15
0
Combine date and time in mysql
I have a date from a calendar_date_select and a time from a time_select.
They go to a date field and a time field in mysql. How do I combine time
and date on both sides to make a comparison in a find?
I think this is on the right path, right?
DATE_ADD(start_date, INTERVAL start_time HOUR_SECOND)
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gma...