# Time Formating in rails?

**URL:** <https://www.ruby-forum.com/t/time-formating-in-rails/196744>\
**Category:** Rails\
**Created:** [July 16, 2008, 10:00pm UTC](https://www.ruby-forum.com/t/time-formating-in-rails/196744 "2008-07-16T22:00:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GabrielG1976](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/8491ac/32.png) [@GabrielG1976](https://www.ruby-forum.com/u/GabrielG1976)\
**Post date:** [July 16, 2008, 10:00pm UTC](https://www.ruby-forum.com/t/time-formating-in-rails/196744/1 "2008-07-16T22:00:31Z")

</div>

Hello every one I trying to create a drop down menu of time in hours  
is there a simple way of formatting it to show only the time in hours

Thanks for any help Gabriel
