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

Same as the preceding overload for the specified `datetime`, loading into the specified `result`&period;

== Synopsis

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

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *result*
| destination for the converted `bsl&colon;&colon;tm`
| *datetime*
| value to convert
|===


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