Extracted from Pike v8.0 release 164 as of 2016-02-09.
   

Method Protocols.HTTP.Server.http_decode_date()


Method http_decode_date

int http_decode_date(string data)

Description

Decode a HTTP date to seconds since 1970 (UTC)

Returns

zero (UNDEFINED) if the given string isn't a HTTP date