Skip to content

Instance Property

timeIntervalSinceNow

iOS 8.0+ iPadOS 8.0+ Mac Catalyst 8.0+ macOS 10.10+ tvOS 9.0+ watchOS 2.0+
The time interval between the date value and the current date and time.
var timeIntervalSinceNow: TimeInterval { get }

Discussion

If the date is earlier than the current date and time, this property’s value is negative.

See Also

timeIntervalSince(_:)

See Also

timeIntervalSince1970

See Also

timeIntervalSinceReferenceDate