Http module

http_date

procedureextensionexperimentalSource

The date for seconds; the string points into cache and stays valid until the next call.

Example↗
cache: Date_Cache;
assert(http_date(*cache, 0) == "Thu, 01 Jan 1970 00:00:00 GMT");
http_date :: (cache: *Date_Cache, seconds: s64) -> string

Parameters

cache: *Date_Cache
seconds: s64

Returns

string

See also