method

httpdate

httpdate()
public

No documentation available.

# File activesupport/lib/active_support/time_with_zone.rb, line 146
    def httpdate
      utc.httpdate
    end

1Note

converts a Time object to a string in rfc822 / rfc2822 format

edavey ยท Aug 10, 20084 thanks
 >> time =  p.updated_at 
 => Fri Jun 20 14:05:30 +0100 2008
 >> time.class
 => Time
 >> time.httpdate
 => "Fri, 20 Jun 2008 13:05:30 GMT"

.