convertToTimeT64 overloads

Synopses

Declared in <bdlt_epochutil.h>

Return seconds from the epoch to the specified datetime.

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

Load into result the seconds from the epoch to datetime.

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

Return Value

seconds from the epoch to datetime

Parameters

Name

Description

datetime

absolute datetime in UTC

result

destination for seconds since the epoch

Created with MrDocs