[#BloombergLP-baltzo-TimeZoneUtil-now-04]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/TimeZoneUtil.adoc[TimeZoneUtil]::now
:relfileprefix: ../../../
:mrdocs:

Load the current local time into `result`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
now(
    xref:BloombergLP/baltzo/LocalDatetime.adoc[LocalDatetime]* result,
    char const* timeZoneId);
----

== Return Value

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *result*
| receives the current local time
| *timeZoneId*
| identifier of the time zone for the result
|===


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