Hi,
I am trying to convert the update_at column in my database to this
format “Fri, 10 Aug 2007 12:17:00 GMT”. How do I do this?
Kind regards,
Dave.
Hi,
I am trying to convert the update_at column in my database to this
format “Fri, 10 Aug 2007 12:17:00 GMT”. How do I do this?
Kind regards,
Dave.
Hi,
[email protected] wrote:
I am trying to convert the update_at column in my database to this
format “Fri, 10 Aug 2007 12:17:00 GMT”. How do I do this?
t = Time.new
=> Mon Aug 13 13:56:42 CEST 2007t.strftime("%a, %d %b %Y %H:%M:%S %Z")
=> “Mon, 13 Aug 2007 13:56:42 CEST”
Lutz
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs