Dates and Calendars

The IDate class uses Gregorian calendar dates. The Gregorian calendar is in general use and consists of the 12 months, January to December.

IDate also supports the Julian date format, which contains the year in positions 1 and 2, and the day of the year in postions 3 through 5. If the day of the year is less than three digits, zeros are added on the left to increase the size to three digits. For example, February 14, 1965 is 65045 as a Julian date. (February 14 is the 45th day of the year.)

The IDate class returns the names of the days and months in the language defined by the current locale. For information on defining the locale, see the standard C library function setlocale().



Information Functions for IDate Objects


Creating an IDate Object
Changing an IDate Object
Testing and Comparing IDate Objects