[#BloombergLP-bdlt-EpochUtil-convertToTimeInterval-00] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/EpochUtil.adoc[EpochUtil]::convertToTimeInterval :relfileprefix: ../../../ :mrdocs: Return, as a `bsls::TimeInterval`, the relative time computed as the difference between the specified absolute `datetime` and the epoch. == Synopsis Declared in `<bdlt_epochutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] convertToTimeInterval(xref:BloombergLP/bdlt/Datetime.adoc[Datetime] const& datetime); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#