BloombergLP::bdlt::EpochUtil::convertFromTimeT

convertFromTimeT overloads

Synopses

Declared in <bdlt_epochutil.h>

Return the absolute Datetime for time seconds after the epoch.

static
Datetime
convertFromTimeT(std::time_t time);
» more...

Load into result the Datetime for time seconds after the epoch.

static
void
convertFromTimeT(
    Datetime* result,
    std::time_t time);
» more...

Return Value

the absolute datetime corresponding to time

Parameters

NameDescription
timeseconds since the Unix epoch
resultdestination for the converted datetime