Return, as a bsls::TimeInterval, the relative time computed as the difference between the specified absolute datetime and the epoch.
Declared in <bdlt_epochutil.h>
static
bsls::TimeInterval
convertToTimeInterval(Datetime const& datetime);
the relative time from the epoch to datetime
| Name | Description |
|---|---|
| datetime | absolute datetime in UTC |