Convert using a bdlt::DatetimeTz source; see the primary convertLocalToLocalTime overload.
Declared in <baltzo_timezoneutil.h>
static
int
convertLocalToLocalTime(
LocalDatetime* result,
char const* targetTimeZoneId,
bdlt::DatetimeTz const& srcTime);
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| result | receives the converted local date-time |
| targetTimeZoneId | identifier of the destination time zone |
| srcTime | source local date-time to convert |