This structure represents time information.

Fields

year: u16,

1900 - 9999

month: u8,

1 - 12

day: u8,

1 - 31

hour: u8,

0 - 23

minute: u8,

0 - 59

second: u8,

0 - 59

nanosecond: u32,

0 - 999999999

timezone: i16,

The time’s offset in minutes from UTC. Allowed values are -1440 to 1440 or unspecified_timezone

daylight: packed struct {
    _pad1: u6,
    in_daylight: bool,
    adjust_daylight: bool,
},

Values

unspecified_timezone
i16

Time is to be interpreted as local time