httpdate(date) public

Parses date as HTTP-date defined by RFC 2616 and converts it to a Time object.

ArgumentError is raised if date is not compliant with RFC 2616 or Time class cannot represent specified date.

See #httpdate for more information on this format.

Show source
Register or log in to add new notes.