Instance MethodFoundationEssentials
advanced(by:)
iOS 13.0+
iPadOS 13.0+
Mac Catalyst 13.0+
macOS 10.15+
tvOS 13.0+
watchOS 6.0+
Returns a date offset the specified time interval from this date.
func advanced(by n: TimeInterval) -> Date
Parameters
nThe time interval offset.
Return Value
A date offset the specified time interval from this date.