Returns the interval between the receiver and another given date.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
The date with which to compare the receiver. You must pass a non-
The interval between the receiver and the
another parameter. If the receiver is earlier than
another, the return value is negative. If
nil, the results are undefined.