[#BloombergLP-baltzo-LocalTimeOffsetUtil-configure-03]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/LocalTimeOffsetUtil.adoc[LocalTimeOffsetUtil]::configure
:relfileprefix: ../../../
:mrdocs:

Configure local time period from the `TZ` environment variable&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
configure();
----

== Description

Set the local time period information used by the `localTimeOffset` method to that for the time zone in the `TZ` environment variable at the current UTC datetime&period; Return 0 on success, and a non&hyphen;zero value otherwise&period; This method is _not_ thread&hyphen;safe&period; The behavior is undefined if the environment changes (e&period;g&period;, a call to the `putenv` POSIX function) during the invocation of this method&period;

== Return Value

0 on success, and a non&hyphen;zero value otherwise


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