Instance Property


The time zone used in the formatted string.


var timeZone: TimeZone? { get set }


The date provider uses the time zone information during formatting to ensure that the date information is displayed correctly. To use the current time zone, set this property to nil.

See Also

Getting the Date Information

var date: Date

The date to display.

var calendarUnits: NSCalendar.Unit

The calendar units to include in the formatted string.

var uppercase: Bool

A Boolean value that determines whether the date string displays in uppercase.