[#BloombergLP-baltzo-TimeZoneUtil-now-03] = 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`. == Synopsis Declared in `<baltzo_timezoneutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int now( xref:BloombergLP/bdlt/DatetimeTz.adoc[bdlt::DatetimeTz]* result, char const* timeZoneId); ---- == Description Load, into the specified `result`, the current local time value in the time zone indicated by the specified `timeZoneId`. Return 0 on success, and a non‐zero value with no effect otherwise. A return value of `ErrorCode::k_UNSUPPORTED_ID` indicates that `timeZoneId` is not recognized. [.small]#Created with https://www.mrdocs.com[MrDocs]#