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.