timeIntervalSince(_:)
Returns the interval between this date and another given date.
Declaration
func timeIntervalSince(_ date: Date) -> TimeIntervalParameters
- date:
The date with which to compare this one.
Return Value
The interval between the receiver and the another parameter. If the receiver is earlier than anotherDate, the return value is negative. If anotherDate is nil, the results are undefined.