daylightSavingTimeOffset(for:)
Returns the daylight saving time offset for a given date.
Declaration
func daylightSavingTimeOffset(for date: Date = Date()) -> TimeIntervalParameters
- date:
The date to use for the calculation. The default value is the current date.