how to calculate time difference between two times in ios?
3 Answers. Use timeIntervalSince(_ anotherDate: Date) function to get difference between two dates. Call the function with two times to find the difference.