Document Revision History
This table describes the changes to Date and Time Programming Guide.
Clarified week and year calendar date component usage.
Expanded Calendrical Calculations section. Added Historical Dates Section and Week-Based Year Section.
Corrected code snippet.
Added links to Cocoa Core Competencies.
Moved information about NSCalendarDate to an appendix, rewrote articles to replace references to NSCalendarDate, and expanded content.
Added a section about how to get date components using NSCalendar and NSDateComponents and a section about how to convert from one calendar to another.
Removed information about converting a date to a string. See NSDateFormatter Class Reference for that information.
Enhanced discussion of calendrical calculations using NSDateComponents.
Added note regarding Julian and Gregorian calendars.
Corrected typographical errors. Added a note about the use of width specifiers for calendar date format strings.
Updated to include NSCalendar and NSDateFormatter changes introduced in OS X v10.4.
Changed title from "Dates and Times." Corrected minor typographic error.
Revision history was added to existing document. It will be used to record changes to the content of the document.