[#BloombergLP-baltzo-TimeZoneUtil-initLocalTime-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/TimeZoneUtil.adoc[TimeZoneUtil]::initLocalTime
:relfileprefix: ../../../
:mrdocs:

Initialize a `LocalDatetime` result&semi; see the primary `initLocalTime` overload&period;

== Synopsis

Declared in `&lt;baltzo&lowbar;timezoneutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
initLocalTime(
    xref:BloombergLP/baltzo/LocalDatetime.adoc[LocalDatetime]* result,
    xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& localTime,
    char const* timeZoneId,
    xref:BloombergLP/baltzo/DstPolicy/Enum.adoc[DstPolicy::Enum] dstPolicy = DstPolicy&colon;&colon;e&lowbar;UNSPECIFIED);
----


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