Pike v8.1 release 6

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