Instance Property

timeZone

The time zone reflected in the date displayed by the date picker.

Declaration

@property(nonatomic, strong) NSTimeZone *timeZone;

Discussion

The default value is nil, which tells the date picker to use the current time zone as returned by localTimeZone (NSTimeZone) or the time zone used by the date picker’s calendar.

See Also

Managing the Date and Calendar

calendar

The calendar to use for the date picker.

date

The date displayed by the date picker.

locale

The locale used by the date picker.

- setDate:animated:

Sets the date to display in the date picker, with an option to animate the setting.