[#BloombergLP-baltzo-ZoneinfoUtil-convertUtcToLocalTime] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/ZoneinfoUtil.adoc[ZoneinfoUtil]::convertUtcToLocalTime :relfileprefix: ../../../ :mrdocs: Load, into the specified `resultTime`, the local date‐time value, in the specified `timeZone`, corresponding to the specified `utcTime`, and load, into the specified `resultTransition`, an iterator referring to the first transition in `timeZone` whose transition‐time is before `utcTime`. Return 0 on success, and `baltzo::ErrorCode::k_OUT_OF_RANGE` if `resultTime` would be outside of the legal range that a `bdlt::DatetimeTz` can represent. The behavior is undefined unless `isWellFormed(timeZone)` is `true`. == Synopsis Declared in `<baltzo_zoneinfoutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int convertUtcToLocalTime( xref:BloombergLP/bdlt/DatetimeTz.adoc[bdlt::DatetimeTz]* resultTime, xref:BloombergLP/baltzo/Zoneinfo/TransitionConstIterator.adoc[Zoneinfo::TransitionConstIterator]* resultTransition, xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& utcTime, xref:BloombergLP/baltzo/Zoneinfo.adoc[Zoneinfo] const& timeZone); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#