convertToTimeT overloads
Declared in <bdlt_epochutil.h>
Return seconds from the epoch to the specified datetime.
static
std::time_t
convertToTimeT(Datetime const& datetime);
» more...
Load into result the seconds from the epoch to datetime.
static
int
convertToTimeT(
std::time_t* result,
Datetime const& datetime);
» more...
datetime| Name | Description |
|---|---|
| datetime | absolute datetime in UTC |
| result | destination for seconds since the epoch |