Instance Property

description

A string representation of the date object.

Declaration

@property(readonly, copy) NSString *description;

Discussion

The representation is useful for debugging only.

There are a number of options to acquire a formatted string for a date including: date formatters (see NSDateFormatter and Data Formatting Guide), and the NSDate methods descriptionWithLocale:, dateWithCalendarFormat:timeZone:, and descriptionWithCalendarFormat:timeZone:locale:

See Also

Describing Dates

- descriptionWithLocale:

Returns a string representation of the date using the given locale.