CFDateGetTimeIntervalSinceDate(_:_:)
Returns the number of elapsed seconds between the given CFDate objects.
Declaration
func CFDateGetTimeIntervalSinceDate(_ theDate: CFDate!, _ otherDate: CFDate!) -> CFTimeIntervalParameters
- theDate:
The date to compare to
otherDate. - otherDate:
The date to compare to
theDate.
Return Value
The number of elapsed seconds between theDate and otherDate. The result is positive if theDate is later than otherDate.