Time.now.strftime("%d %b %Y %H:%M") => "12 Oct 2009 18:50"On Oct 12, 2:29 pm, David Smit <[email protected]> wrote: > Hi, > > Currently my dates look like this: 2009-10-10 00:55:37 UTC > > I want to format them in my view to look like this: 10 Oct 2009 00:55 > > Is it possible to do the formatting in the view using the to_s method? > > Thanks, > > David > -- > Posted viahttp://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

