ISO 8601 formatting is preferred. Use the FormatISO8601{DateTime,Date} helper functions if possible.
Declared in <util/time.h>
std::string
FormatISO8601DateTime(int64_t nTime);
The timestamp formatted as an ISO 8601 date and time string.
| Name | Description |
|---|---|
| nTime | Unix timestamp in seconds. |