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

Return a reference to the Unix epoch (1970&hyphen;01&hyphen;01 00&colon;00&colon;00)&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] const&
epoch();
----

== Description

Return a reference providing non&hyphen;modifiable access to the epoch time&colon; midnight on January 1, 1970&period; Note that this value exists before any code is executed and will continue to exist, unchanged, until the program exits&period;

== Return Value

non&hyphen;modifiable reference to the epoch datetime


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