Import with #import "std/date_time_types".

LocalDateTime :: struct { year: s32; month: s32; day: s32; day_of_year: s32; hour: s32; minute: s32; second: s32; valid: bool; }
ZoneOffset :: struct { seconds: s32; valid: bool; }

A time zone's offset from UTC in seconds at one moment, east positive.

Source ↗ · All modules