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

This `struct` provides a namespace for datetime encoding constants&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct DatetimeImpUtil;
----

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/DatetimeImpUtil/epoch_0001_01_01.adoc[`epoch&lowbar;0001&lowbar;01&lowbar;01`] 
| Return a pointer to a `bdlt&colon;&colon;Datetime` with value `bdlt&colon;&colon;Datetime(1, 1, 1)` suitable for use during static initialization&period;
| xref:BloombergLP/bdlt/DatetimeImpUtil/epoch_1970_01_01.adoc[`epoch&lowbar;1970&lowbar;01&lowbar;01`] 
| Return a pointer to the 1970&hyphen;01&hyphen;01 00&colon;00&colon;00&period;000 epoch datetime&period;
| xref:BloombergLP/bdlt/DatetimeImpUtil/epoch_max.adoc[`epoch&lowbar;max`] 
| Return a pointer to a `bdlt&colon;&colon;Datetime` with value `bdlt&colon;&colon;Datetime(9999, 12, 31, 24)` suitable for use during static initialization&period;
|===


== Static Data Members

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/DatetimeImpUtil/k_0001_01_01_VALUE.adoc[`k&lowbar;0001&lowbar;01&lowbar;01&lowbar;VALUE`] 
| Serial datetime value for `0001&sol;01&sol;01`&period;
| xref:BloombergLP/bdlt/DatetimeImpUtil/k_1970_01_01_VALUE.adoc[`k&lowbar;1970&lowbar;01&lowbar;01&lowbar;VALUE`] 
| Serial datetime value for `1970&sol;01&sol;01`&period;
| xref:BloombergLP/bdlt/DatetimeImpUtil/k_MAX_VALUE.adoc[`k&lowbar;MAX&lowbar;VALUE`] 
| Maximum serial datetime value representable by `bdlt&colon;&colon;Datetime`&period;
|===



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