[#BloombergLP-bdlt-EpochUtil-convertToTimeT64-04]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/EpochUtil.adoc[EpochUtil]::convertToTimeT64
:relfileprefix: ../../../
:mrdocs:

`convertToTimeT64` overloads

== Synopses

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

Return seconds from the epoch to the specified `datetime`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdlt/EpochUtil/TimeT64.adoc[EpochUtil::TimeT64]
xref:BloombergLP/bdlt/EpochUtil/convertToTimeT64-0a.adoc[convertToTimeT64](xref:BloombergLP/bdlt/Datetime.adoc[Datetime] const& datetime);
----

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

Load into `result` the seconds from the epoch to `datetime`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bdlt/EpochUtil/convertToTimeT64-03.adoc[convertToTimeT64](
    xref:BloombergLP/bdlt/EpochUtil/TimeT64.adoc[TimeT64]* result,
    xref:BloombergLP/bdlt/Datetime.adoc[Datetime] const& datetime);
----

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

== Return Value

seconds from the epoch to `datetime`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *datetime*
| absolute datetime in UTC
| *result*
| destination for seconds since the epoch
|===


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