Instance Property

timeZone

The time zone used in the formatted string.

Declaration

var timeZone: TimeZone? { get set }

Discussion

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.