Returns all the date components of a date, as if in a given time zone (instead of the receiving calendar’s time zone).
- iOS 8.0+
- macOS 10.9+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
The time zone to use when returning the components. This value overrides the time zone of the receiving
The date for which to perform the calculation.
NSDate object containing all the components from the given date, calculated using the given time zone.
If you want "date information in a given time zone" for the purpose to displaying it, you should use
Date to format the date.