Enumeration Case

NSDateIntervalFormatterShortStyle

An abbreviated date or time format.

Declaration

NSDateIntervalFormatterShortStyle = 1

Discussion

For dates, this style displays the day, month, and year in numerical form using a format appropriate for the current locale. For example, formatting the date January 15, 2015 with this style results in the value “1/15/15” for US English and the value “15.1.15” for German.

For times, this style displays hours and minutes using a format appropriate for the current locale. For example, 12 hours and 33 minutes in the afternoon using a 12-hour clock results in the value “12:33 PM” for US English format and “12:33 nachm.” for German.