formating date and time

I want to display date and time in view as "August 7, 2009 at 10:22:02 am". Presently it is displaying in view as "2009-08-07 10:22:02 UTC". Can anyone tell to format date and time.

Have a look at strftime. (Did you try googling for ruby format date time, Google is usually quicker than posting here.).


THIS IS THE SOLUTION TRY THIS <"%B %d %Y")%> <%="%I: %M%P " ) %>