BloombergLP::bdlt::EpochUtil::convertToTimeT64

convertToTimeT64 overloads

Synopses

Declared in <bdlt_epochutil.h>

Return seconds from the epoch to the specified datetime.

static
EpochUtil::TimeT64
convertToTimeT64(Datetime const& datetime);
» more...

Load into result the seconds from the epoch to datetime.

static
void
convertToTimeT64(
    TimeT64* result,
    Datetime const& datetime);
» more...

Return Value

seconds from the epoch to datetime

Parameters

NameDescription
datetimeabsolute datetime in UTC
resultdestination for seconds since the epoch