Excellent - sorted. Thanks Robb.

I've amended it slightly, to have it as dd month year, but it's
looking good now. Thanks for your help dude!

I'm new to rails - and havent covered this so appreciate the help.

On 22 Oct, 19:41, Robb <[email protected]> wrote:
> > so, if I put:
>
> >  def format_date(a_date)...
> > ...in one of my helpers, what do I need to include in the rhtml page?
>
> You could use it like this:
>
> <p>
>   Profile was created at <%= format_date(profile.created_at) %>
> </p>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to