FormatRFC1123DateTime

RFC1123 formatting https://www.rfc-editor.org/rfc/rfc1123#section-5.2.14 Used in HTTP/1.1 responses

Synopsis

Declared in <util/time.h>

std::string
FormatRFC1123DateTime(int64_t nTime);

Return Value

The timestamp formatted as an RFC 1123 date and time string.

Parameters

NameDescription
nTimeUnix timestamp in seconds.