convertFromTimeT64 overloads

Synopses

Declared in <bdlt_epochutil.h>

Return the absolute Datetime for time seconds after the epoch.

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

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

Return Value

  • the absolute datetime corresponding to time

  • 0 on success, and a non‐zero value otherwise

Parameters

Name

Description

time

seconds since the Unix epoch

result

destination for the converted datetime

Created with MrDocs