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

`convertFromTimeT64` overloads

== Synopses

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

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 the converted `time` can be represented in the destination format&period; Note that the returned value will use Coordinated Universal Time (UTC) as a reference&period; Also note that if error detection is desired, the overloaded version that loads the converted `time` into a supplied destination object should be used&period;


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

[.small]#xref:BloombergLP/bdlt/EpochUtil/convertFromTimeT64-0d.adoc[_» more&period;&period;&period;_]#

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;


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

[.small]#xref:BloombergLP/bdlt/EpochUtil/convertFromTimeT64-08.adoc[_» more&period;&period;&period;_]#


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