Converts given time since epoch as std::time_t value into calendar time, expressed in Coordinated Universal Time (UTC). Unlike std::gmtime, this function is thread-safe on most platforms.
Declared in <fmt/chrono.h>
tm
gmtime(time_t time);
The corresponding calendar time in UTC.
| Name | Description |
|---|---|
| time | The time since epoch to convert. |