BloombergLP::bdlt::EpochUtil::convertFromTimeT64

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.

Synopsis

Declared in <bdlt_epochutil.h>

static
int
convertFromTimeT64(
    Datetime* result,
    TimeT64 time);