Instance Property

date

The date to display.

Declaration

var date: Date { get set }

Discussion

You set the value of this property at creation time but may change it later.

See Also

Getting the Date Information

var timeZone: TimeZone?

The time zone used in the formatted string.

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.