Forum: Ruby on Rails Combine date and time in mysql

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
9cf7a50b1359fb99fba8b6e831e16b25?d=identicon&s=25 Paul B. (palb)
on 2008-10-15 10:53
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)
This topic is locked and can not be replied to.