Return seconds from the epoch to the specified datetime.
Declared in <bdlt_epochutil.h>
static
EpochUtil::TimeT64
convertToTimeT64(Datetime const& datetime);
Return the relative time computed as the difference between the specified absolute datetime and the epoch. Note that datetime is assumed to use Coordinated Universal Time (UTC) as a reference.
seconds from the epoch to datetime
| Name | Description |
|---|---|
| datetime | absolute datetime in UTC |