[#BloombergLP-bdlt-EpochUtil-convertFromTimeT64-08]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/EpochUtil.adoc[EpochUtil]::convertFromTimeT64
:relfileprefix: ../../../
:mrdocs:

Load into `result` the `Datetime` for `time` seconds after the epoch&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
convertFromTimeT64(
    xref:BloombergLP/bdlt/Datetime.adoc[Datetime]* result,
    xref:BloombergLP/bdlt/EpochUtil/TimeT64.adoc[TimeT64] time);
----

== Description

Load into the specified `result` the absolute datetime converted to a `Datetime`, computed as the sum of the specified relative `time` and the epoch&period; Return 0 on success, and a non&hyphen;zero value (with no effect on `result`) if `time` cannot be represented in the destination format&period; Note that `result` will use Coordinated Universal Time (UTC) as a reference&period;

== Return Value

0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *result*
| destination for the converted datetime
| *time*
| seconds since the Unix epoch
|===


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