Instance Method


Creates and returns an ISO 8601 formatted string representation of the specified date.


- (NSString *)stringFromDate:(NSDate *)date;



The date to be represented.

Return Value

A user-readable string representing the date.

See Also

Converting ISO 8601 Dates

- dateFromString:

Creates and returns a date object from the specified ISO 8601 formatted string representation.

+ stringFromDate:timeZone:formatOptions:

Creates a representation of the specified date with a given time zone and format options.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software