Forum: Ruby on Rails date

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.
B04a553de1b8b45433b841bba440cc42?d=identicon&s=25 fafa (Guest)
on 2007-04-05 14:04
Please, how to transform data from date_select (a set of select boxes)
to one Time? Is there a built-in function? I need something like
create_date(params[:date]) - this would collect all values from select
boxes like date(3i), etc. and create a single date value. This is
automatically done when saving a date into the database, but don't know
how to use the date in another way.
This topic is locked and can not be replied to.