[#BloombergLP-baltzo-TimeZoneUtil-convertLocalToLocalTime-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/TimeZoneUtil.adoc[TimeZoneUtil]::convertLocalToLocalTime :relfileprefix: ../../../ :mrdocs: Convert using a `bdlt::DatetimeTz` source; see the primary `convertLocalToLocalTime` overload. == Synopsis Declared in `<baltzo_timezoneutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int convertLocalToLocalTime( xref:BloombergLP/baltzo/LocalDatetime.adoc[LocalDatetime]* result, char const* targetTimeZoneId, xref:BloombergLP/bdlt/DatetimeTz.adoc[bdlt::DatetimeTz] const& srcTime); ---- == 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 | *srcTime* | source local date‐time to convert |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#