Date Time Change in View Section

Friend ,

In my database : date time is 2012-01-07. In Html page I want for My Preferred Time is 7th Jan 2012.

How I do that!

phoesan

First google for ruby format date

The first hit will likely point you to strftime.

Colin

Thank Colin,

with strftime , 7 Jan 2012 is ok . I get 7th Jan 2012.

phoesan

I got it by

Thank Colin,