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

This utility `struct` provides a namespace for a suite of functions operating on objects of type `Datetime`&period;

== Synopsis

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

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

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/DatetimeUtil/convertFromTm.adoc[`convertFromTm`] 
| Load `result` from the specified `timeStruct`&period;
| xref:BloombergLP/bdlt/DatetimeUtil/convertToTm-0a.adoc[`convertToTm`] 
| `convertToTm` overloads
| xref:BloombergLP/bdlt/DatetimeUtil/fromYmdHms.adoc[`fromYmdHms`] 
| Return an optional `Datetime` built from the specified clock fields&period;
|===



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