Instance Property

timeZone

The time zone with which to specify time values.

Declaration

@property(copy) NSTimeZone *timeZone;

Discussion

The default value of this property is the default time zone for the current user, which is accessible from the defaultTimeZone method of NSTimeZone. You can change this value to a different time zone to generate strings based on that time zone.

See Also

Configuring the Formatter Options

dateStyle

The style to use when formatting day, month, and year information.

timeStyle

The style to use when formatting hour, minute, and second information.

dateTemplate

The template for formatting one date and time value.

calendar

The calendar to use for date values.

locale

The locale to use when formatting date and time values.