Load the current local time into result.

Synopsis

Declared in <baltzo_timezoneutil.h>

static
int
now(
    LocalDatetime* result,
    char const* timeZoneId);

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

result

receives the current local time

timeZoneId

identifier of the time zone for the result

Created with MrDocs