method

rfc1123_date

v1_8_7_72 - Show latest stable - Class: CGI
rfc1123_date(time)
public

Format a Time object as a String using the format specified by RFC 1123.

  CGI::rfc1123_date(Time.now)
    # Sat, 01 Jan 2000 00:00:00 GMT