Have some way to I get a formated date/time on rails?
I know I can get date/time by timestamps
created_at :datetime
updated_at :datetime
Bu, I can get with an formated way when I call the date/time on a block?
like php for example ("M", "D", "Y") and not the complete information
"2000-01-01
14:26:00 UTC"
Thanks!
--
*Fernando Aureliano*
--
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.