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

Load, into the specified `result`, attributes characterizing local time at the specified `utcTime` in the time zone indicated by the specified `timeZoneId` (i&period;e&period;, the offset from UTC, whether daylight&hyphen;saving time is in effect and the description of the time zone), as well as the time interval over which those attributes apply&period; Return 0 on success, and a non&hyphen;zero value with no effect otherwise&period; A return value of `ErrorCode&colon;&colon;k&lowbar;UNSUPPORTED&lowbar;ID` indicates that `timeZoneId` was not recognized&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
loadLocalTimePeriodForUtc(
    xref:BloombergLP/baltzo/LocalTimePeriod.adoc[LocalTimePeriod]* result,
    char const* timeZoneId,
    xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& utcTime);
----


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