[#BloombergLP-bdlt-EpochUtil-convertFromTimeInterval-0c] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/EpochUtil.adoc[EpochUtil]::convertFromTimeInterval :relfileprefix: ../../../ :mrdocs: Load into `result` the `Datetime` for `timeInterval` after the epoch. == Synopsis Declared in `<bdlt_epochutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void convertFromTimeInterval( xref:BloombergLP/bdlt/Datetime.adoc[Datetime]* result, xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& timeInterval); ---- == Description Load into the specified `result` the absolute datetime converted to a `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`. == Parameters [cols="1,4"] |=== | Name| Description | *result* | destination for the converted datetime | *timeInterval* | interval from the Unix epoch |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#