# zig-datetime Calendar dates, times of day, instants and time zones, and the text formats they are read from and written to. ## Language ### Calendar **Epoch**: The day 1970-01-01 in the proleptic Gregorian calendar, from which day numbers are counted. _Avoid_: era, start of era **Day number**: A signed count of days from the epoch to a date; negative before it. _Avoid_: days since start of era, Rata Die (which counts from a different day) **Day of year**: The position of a date within its calendar year, counting from 1 for 1 January: 1 through 365, or 366 in a leap year. _Avoid_: ordinal (ISO 8601's ordinal date is the year and the day of year together), Julian day (a count of days from 4713 BC) **Era**: One 400-year cycle of the proleptic Gregorian calendar, always 146097 days long, after which the calendar repeats exactly. _Avoid_: epoch ### Clock **Second of day**: The number of seconds elapsed since midnight, 0 through 86399. A leap second, the 61st second of its minute, is not a second of day. _Avoid_: remainder, time (on its own)