On 14 May 2010 10:50, Hemant Bhargava <[email protected]> wrote: > Hello All, > > How can i convert the date format "2010-01-01" to rails default date > format. I mean to "Fri, 14 May 2010"?
You can use Date.strptime to parse it then strftime to format it to whatever format you like. Colin -- 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.

