utc_mklocaltime(3dts)Converts a tm structure that expresses local time to a binary timestamp Synopsis
#include <dce/utc.h> Parameters Input
timetm
tns
inacctm
ins Output
utc
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. Additional inputs include nanoseconds since the last second of Time, and nanoseconds of inaccuracy.
Return Values 1 Indicates an invalid time argument or invalid results.
Examples
Related Information
|