Skip to content

Instance Property

timeIntervalSince1970

iOS 8.0+ iPadOS 8.0+ Mac Catalyst 8.0+ macOS 10.10+ tvOS 9.0+ watchOS 2.0+
The interval between the date value and 00:00:00 UTC on 1 January 1970.
var timeIntervalSince1970: TimeInterval { get }

Discussion

This property’s value is negative if the date object is earlier than 00:00:00 UTC on 1 January 1970.

See Also

timeIntervalSince(_:)

See Also

timeIntervalSinceNow

See Also

timeIntervalSinceReferenceDate