[#BloombergLP-baltzo-TimeZoneUtil-convertUtcToLocalTime-0ec] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/TimeZoneUtil.adoc[TimeZoneUtil]::convertUtcToLocalTime :relfileprefix: ../../../ :mrdocs: `convertUtcToLocalTime` overloads == Synopses Declared in `<baltzo_timezoneutil.h>` Load a `bdlt::DatetimeTz` result; see `convertUtcToLocalTime` for `LocalDatetime`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baltzo/TimeZoneUtil/convertUtcToLocalTime-01.adoc[convertUtcToLocalTime]( xref:BloombergLP/bdlt/DatetimeTz.adoc[bdlt::DatetimeTz]* result, char const* targetTimeZoneId, xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& utcTime); ---- [.small]#xref:BloombergLP/baltzo/TimeZoneUtil/convertUtcToLocalTime-01.adoc[_» more..._]# Convert `utcTime` to local time in `targetTimeZoneId`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baltzo/TimeZoneUtil/convertUtcToLocalTime-0e0.adoc[convertUtcToLocalTime]( xref:BloombergLP/baltzo/LocalDatetime.adoc[LocalDatetime]* result, char const* targetTimeZoneId, xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& utcTime); ---- [.small]#xref:BloombergLP/baltzo/TimeZoneUtil/convertUtcToLocalTime-0e0.adoc[_» more..._]# == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *result* | receives the converted local date‐time | *targetTimeZoneId* | identifier of the destination time zone | *utcTime* | UTC date‐time to convert |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#