# Date

**URL:** <https://www.ruby-forum.com/t/date/91188>\
**Category:** Rails\
**Created:** [April 5, 2007, 2:04pm UTC](https://www.ruby-forum.com/t/date/91188 "2007-04-05T14:04:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fafa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/8e7dd6/32.png) [@fafa](https://www.ruby-forum.com/u/fafa)\
**Post date:** [April 5, 2007, 2:04pm UTC](https://www.ruby-forum.com/t/date/91188/1 "2007-04-05T14:04:49Z")

</div>

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.
