Instance Method

stringFromDate:

Returns a string representation of a given date formatted using the receiver’s current settings.

Declaration

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

Parameters

date

The date to format.

Return Value

A string representation of date formatted using the receiver’s current settings.

See Also

Converting Objects

- dateFromString:

Returns a date representation of a given string interpreted using the receiver’s current settings.

+ localizedStringFromDate:dateStyle:timeStyle:

Returns a string representation of a given date, formatted for the current locale using the specified date and time styles.

- getObjectValue:forString:range:error:

Returns by reference a date representation of a given string and the range of the string used, and returns a Boolean value that indicates whether the string could be parsed.