FormatISO8601DateTime

ISO 8601 formatting is preferred. Use the FormatISO8601{DateTime,Date} helper functions if possible.

Synopsis

Declared in <util/time.h>

std::string
FormatISO8601DateTime(int64_t nTime);

Return Value

The timestamp formatted as an ISO 8601 date and time string.

Parameters

NameDescription
nTimeUnix timestamp in seconds.