[#BloombergLP-bdlt-DatetimeUtil-convertToTm-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/DatetimeUtil.adoc[DatetimeUtil]::convertToTm :relfileprefix: ../../../ :mrdocs: Return or load into the specified `result` the value of the specified `datetime` expressed as a `bsl::tm`. Each field in the result is set to its proper value except `tm_isdst`, which is set to `‐1` to indicate that no information on daylight saving time is available. A time value of 24:00:00:00 will be converted to 0:00:00. Note that time zones are irrelevant for this conversion. == Synopsis Declared in `<bdlt_datetimeutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::tm convertToTm(xref:BloombergLP/bdlt/Datetime.adoc[Datetime] const& datetime); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#