# Time Formating in rails?

**URL:** <https://www.ruby-forum.com/t/time-formating-in-rails/143271>\
**Category:** Rails\
**Created:** [July 16, 2008, 9:52pm UTC](https://www.ruby-forum.com/t/time-formating-in-rails/143271 "2008-07-16T21:52:16Z")\
**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, 9:52pm UTC](https://www.ruby-forum.com/t/time-formating-in-rails/143271/1 "2008-07-16T21:52:16Z")

</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
