utc_localzone(3dts)Gets the local time zone label and offset from GMT, given UTC Synopsis
#include <dce/utc.h> Parameters Input
tzlen
utc Output
tzname
tdf
isdst
Notes
Description The user's environment determines the time zone rule (details are system dependent). For example, on OSF/1 systems, the user selects a time zone by specifying the TZ environment variable. (The reference information for the localtime( ) system call, which is described in the ctime(3) reference page, provides additional information.) If the user's environment does not specify a time zone rule, the system's rule is used (details of the rule are system dependent). For example, on OSF/1 systems, the rule in /etc/zoneinfo/localtime applies.
Return Values 1 Indicates an invalid time argument or an insufficient buffer.
Examples
Related Information
|