BloombergLP::bdlt::DatetimeUtil::convertToTm

convertToTm overloads

Synopses

Declared in <bdlt_datetimeutil.h>

Return the value of the specified datetime expressed as a bsl::tm.

static
std::tm
convertToTm(Datetime const& datetime);
» more...

Same as the preceding overload for the specified datetime, loading into the specified result.

static
void
convertToTm(
    std::tm* result,
    Datetime const& datetime);
» more...

Return Value

corresponding bsl::tm value

Parameters

NameDescription
datetimevalue to convert
resultdestination for the converted bsl::tm