[#BloombergLP-bdlt-EpochUtil-convertFromTimeInterval-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/EpochUtil.adoc[EpochUtil]::convertFromTimeInterval :relfileprefix: ../../../ :mrdocs: Return the absolute `Datetime` for `timeInterval` after the epoch. == Synopsis Declared in `<bdlt_epochutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdlt/Datetime.adoc[Datetime] convertFromTimeInterval(xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& timeInterval); ---- == Description Return, as a `Datetime`, the absolute datetime computed as the sum of the specified relative `timeInterval` and the epoch. The behavior is undefined unless the conversion result can be represented as a `Datetime`. Note that the conversion is potentially lossy as the resolution of `bsls::TimeInterval` is greater than that of `Datetime`. == Return Value the absolute datetime corresponding to `timeInterval` == Parameters [cols="1,4"] |=== | Name| Description | *timeInterval* | interval from the Unix epoch |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#