\fi-6552 \s5 \li7030 \fi-6553 \fi-5796 \i0 Creates and returns a date object set to to \i seconds\i0 seconds from the reference date used by UNIX\f3 \fs18 \up6 \'e2\f1 \fs28 \up0 systems. Use a negative argument value to specify a date and time before the reference date.\
\fi-6552 \s5 \li7030 \fi-6553 \fi-5796 \i0 Creates and returns a date object set to to \i seconds\i0 seconds from the absolute reference date (the first instant of 1 January, 2001). Use a negative argument value to specify a date and time before the reference date.\
\s4 \li7029 \fi-5794 \fi-6552 \fi-6552 + (NSDate *)\b distantFuture\b0 Creates and returns a date object that represents a date in the distant future (in terms of centuries). You can use this object in your code as a control date, a guaranteed outer temporal limit.\
\fi-6552 \fi-6552 \fi-6552 + (NSDate *)\b distantPast\b0 Creates and returns a date object that represents a date in the distant past (in terms of centuries). You can use this object in your code as a control date, a guaranteed temporal boundary.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (id)\b init\b0 Initializes a newly allocated date object to the current date and time.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (id)\b initWithString:\b0 (NSString *)\i description\i0 Returns a date object with a date and time value specified by the international string-representation format: YYYY-MM-DD HH:MM:SS \f3 {\f3 -}\f1 HHMM, where \f3 {\f3 -}\f1 HHMM is a time zone offset in hours and minutes from Greenwich Mean Time.\
\fi-6552 \s5 \li7030 \fi-6553 \fi-5796 \i0 \b sinceDate:\b0 (NSDate *)\i anotherDate\i0 Returns a date object initialized relative to another date object by \i seconds\i0 (plus or minus).\
\fi-6552 \s5 \li7030 \fi-6553 \fi-5796 \i0 Returns a date object initialized relative to the reference date and time by \i seconds\i0 (plus or minus).\
\fi-6552 \s5 \li7030 \fi-6553 \fi-5796 \i0 \b timeZone:\b0 (NSTimeZone *)\i timeZone\i0 Converts the date object to an NSCalendarDate object bound to the format string \i formatString\i0 and the time zone \i timeZone\i0 . If you specify \b nil\b0 after either or both of these arguments, the default format string and time zone are assumed.\
\pard \s8 \li100 \fi0 \ri1007 \ql \f0 \b \fs16 \
\
\
\fs28 Representing Dates\
\fs16 \
\fs28 \pard \s4 \li7029 \fi-6552 \ri1007 \ql \tx6652 \tx7030 \f1 \b0 \fi-6552 {\f3 -} (NSString *)\b description\b0 Returns a string representation of the NSDate object that conforms to the international format YYYY-MM-DD HH:MM:SS \f3 {\f3 -}\f1 HHMM, where \f3 {\f3 -}\f1 HHMM represents the time-zone offset in hours and minutes from Greenwich Mean Time (GMT).\
\fi-6552 \s5 \li7030 \fi-6553 \fi-5796 \i0 \b timeZone\b0 :(NSTimeZone *)\i aTimeZone \i0 Returns a string representation of the NSDate object that\
\b locale:\b0 (NSDictionary *)\i localeDictionary\i0 conforms to \i formatString\i0 (a \b strftime\b0 -style date-conversion string) and that is adjusted to \i aTimeZone\i0 . Included are the keys and values that represent the locale data from \i localeDictionary\i0 .\
\fi-6552 \fi-6552 \i0 \fi-6552 Returns a string representation of the NSDate object (see \b description\b0 ). Included are the key and values that represent the locale data from \i localeDictionary\i0 .\
\fi-6552 \fi-6552 \fi-6552 Returns the interval between the system\'27s absolute reference date and the current date and time. This value is less than zero until the first instant of 1 January 2001.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} \b addTimeInterval:\b0 (NSTimeInterval)\i seconds\i0 Returns a date object that\'27s set to a specified number of seconds relative to the receiver.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (NSTimeInterval)\b timeIntervalSince1970\b0 Returns the interval between the receiver and the reference date used by UNIX\f3 \fs18 \up6 \'e2\f1 \fs28 \up0 systems.\
\fi-6552 \s5 \li7030 \fi-6553 \fi-5796 \i0 Returns the interval between the receiver and \i otherDate\i0 .\
\s4 \li7029 \fi-5794 \fi-6552 \fi-6552 {\f3 -} (NSTimeInterval)\b timeIntervalSinceNow\b0 Returns the interval between the receiver and the current date and time.\
\fi-6552 \pard \s5 \li7030 \fi-5796 \ri1007 \ql \tx6652 \tx7030 Returns the interval between the receiver and the system\'27s absolute reference date. This value is less than zero until the first instant of 1 January 2001.\
\fi-6552 \s5 \li7030 \fi-6553 \fi-5796 \i0 \fs28 \fs28 Compares the receiving date to \i otherDate\i0 and returns NSOrderedDescending if the receiver is temporally later, NSOrderedAscending if it\'27s temporally earlier, and NSOrderedSame if they are equal.\
\s4 \li7029 \fi-5794 \fi-6552 \fi-6552 {\f3 -} (NSDate *)\b earlierDate:\b0 (NSDate *)\i otherDate\i0 Compares the receiver date to \i otherDate\i0 and returns the one that\'27s temporally earlier.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (BOOL)\b isEqual:\b0 (id)\i otherDate\i0 Returns YES if \i otherDate\i0 and the receiver are within one second of each other; otherwise, returns NO.\
\fi-6552 \fi-6552 \fi-6552 {\f3 -} (NSDate *)\b laterDate:\b0 (NSDate *)\i otherDate\i0 Compares the receiver date to \i otherDate\i0 and returns the one that\'27s temporally later.\