Function

CFDateFormatterGetFormat

Returns a format string for the given date formatter object.

Declaration

CFStringRef CFDateFormatterGetFormat(CFDateFormatterRef formatter);

Parameters

formatter

The date formatter to examine.

Return Value

The format string for formatter as was specified by calling the CFDateFormatterSetFormat function, or derived from the date formatter’s date or time styles. Ownership follows the The Get Rule.

See Also

Getting Information About a Date Formatter

CFDateFormatterCopyProperty

Returns a copy of a date formatter’s value for a given key.

CFDateFormatterGetDateStyle

Returns the date style used to create the given date formatter object.

CFDateFormatterGetLocale

Returns the locale object used to create the given date formatter object.

CFDateFormatterGetTimeStyle

Returns the time style used to create the given date formatter object.