---
title: "timeIntervalSince(_:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/date/timeintervalsince(_:)"
---

# timeIntervalSince(_:)

Returns the interval between this date and another given date.

## Declaration

```swift
func timeIntervalSince(_ date: Date) -> TimeInterval
```

## Parameters

- `date`: The date with which to compare this one.

## Return Value

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.

## See Also

### Getting Time Intervals

- [timeIntervalSinceNow](foundation/date/timeintervalsincenow.md)
- [timeIntervalSinceReferenceDate](foundation/date/timeintervalsincereferencedate-swift.property.md)
- [timeIntervalSince1970](foundation/date/timeintervalsince1970.md)
- [timeIntervalSinceReferenceDate](foundation/date/timeintervalsincereferencedate-swift.type.property.md)
- [timeIntervalBetween1970AndReferenceDate](foundation/date/timeintervalbetween1970andreferencedate.md)
- [Date.Stride](foundation/date/stride.md)
