objc

Data Fields
sys_date_t Struct Reference

Represents a system date and time structure. More...

#include <runtime-sys/sys.h>

Data Fields

int64_t seconds
 Seconds since Unix epoch (January 1, 1970 00:00:00 UTC)
 
int32_t nanoseconds
 Fractional seconds in nanoseconds (0-999999999)
 
int32_t tzoffset
 Timezone offset in seconds from UTC (positive = east of UTC)
 

Detailed Description

Represents a system date and time structure.

This structure is used to represent time in the system, including the current UTC time with nanosecond precision, and a timezone offset.

Examples:
clock/main.c, and examples/runtime/ntp/main.c.

Definition at line 45 of file date.h.


The documentation for this struct was generated from the following file: