Category:Date/Time Functions

From Mailutils

Revision as of 12:15, 17 December 2011 by Gray (Talk | contribs)
Jump to: navigation, search

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[1].

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 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.


M cont.

M cont.


Personal tools