Load into result the Datetime for time seconds after the epoch.
Declared in <bdlt_epochutil.h>
static
int
convertFromTimeT64(
Datetime* result,
TimeT64 time);
Load into the specified result the absolute datetime converted to a Datetime, computed as the sum of the specified relative time and the epoch. Return 0 on success, and a non-zero value (with no effect on result) if time cannot be represented in the destination format. Note that result will use Coordinated Universal Time (UTC) as a reference.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| result | destination for the converted datetime |
| time | seconds since the Unix epoch |