[#BloombergLP-bdlt-EpochUtil-convertFromTimeT-0f7]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/EpochUtil.adoc[EpochUtil]::convertFromTimeT
:relfileprefix: ../../../
:mrdocs:

Return, as a `Datetime`, the absolute datetime computed as the sum of the specified relative `time` and the epoch&period; The behavior is undefined unless `0 &lt;&equals; time` and, for the resultant `Datetime` `dt`, `0 &equals;&equals; convertToTimeT(&amp;time, dt)` (i&period;e&period;, `time` is representable as a 32&hyphen;bit `int`)&period; Note that the returned value will use Coordinated Universal Time (UTC) as a reference&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;epochutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdlt/Datetime.adoc[Datetime]
convertFromTimeT(std::time&lowbar;t time);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
