FormatISO8601Date

Format a Unix timestamp as an ISO 8601 date string.

Synopsis

Declared in <util/time.h>

std::string
FormatISO8601Date(int64_t nTime);

Return Value

The date portion formatted as an ISO 8601 string.

Parameters

NameDescription
nTimeUnix timestamp in seconds.