Pike v8.0 release 1738

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