Topic: disply time [SOLVED]

i am trying to output the time but when i do i get

    2000-01-01 17:30:00 UTC

i would like to see something more like
     5:30 pm or 17:30

Last edited by moiseszaragoza (2012-06-26 09:23:32)

Re: disply time [SOLVED]

time = Time.now
puts time.strftime(

Re: disply time [SOLVED]

Thanks
i used

time.start_date.try(:strftime ,'%m-%d-%Y')