Instance Property


The date picker’s locale.


var locale: Locale? { get set }

See Also

Controlling Date Picker Range and Mode

var calendar: Calendar?

The calendar used by the date picker.

var datePickerMode: NSDatePicker.Mode

The date picker’s mode.

var timeZone: TimeZone?

The time zone for the date picker.

enum NSDatePicker.Mode

Constants that define whether the picker provides a single date, or a range of dates.