Returns a Boolean value that indicates whether a given object is a date that is exactly equal the receiver.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The date to compare with the receiver.
true if the
another is an
NSDate object and is exactly equal to the receiver, otherwise
This method detects sub-second differences between dates. If you want to compare dates with a less fine granularity, use
time to compare the two dates.