Mailutils date/time functions convert date/time between internal and human- or machine-readable representations in various formats. Special functions are provided for date calculations.
The function prototypes, data type declarations and macro definitions are located in file mailutils/datetime.h.
Whenever a function takes year, month or day as its input parameters, the following ranges are assumed:
- Year is greater than 0 for years AD and less than 0 for years BC.
- 1 <= Month <= 12
- Days start at 1.
The functions operate on Gregorian dates and do no take into account the change from Julian to Gregorian calendars, as it occurred in various dates, depending on the country. Hopefully no one would need to go that far back in time when dealing with email timestamps, so that's not considered a limitation.
Pages in category "Date/Time Functions"
The following 11 pages are in this category, out of 11 total.