A string representation of the date object.
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
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
Date and Data Formatting Guide), and the