Contents

timeZone

The time zone with which to specify time values.

Declaration

var timeZone: TimeZone! { get set }

Discussion

The default value of this property is the default time zone for the current user, which is accessible from the default 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