method

httpdate

v1_9_1_378 - Show latest stable - Class: Time
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.