---
title: "laterDate(_:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsdate/laterdate(_:)"
---

# laterDate(_:)

Returns the later of the receiver and another given date.

## Declaration

```swift
func laterDate(_ anotherDate: Date) -> Date
```

## Parameters

- `anotherDate`: The date with which to compare the receiver.

## Return Value

Return Value The later of the receiver and anotherDate, determined using timeIntervalSince(_:). If the receiver and anotherDate represent the same date, returns the receiver.

## See Also

### Related Documentation

- [isEqual(_:)](objectivec/nsobjectprotocol/isequal(_:).md)

### Comparing Dates

- [isEqual(to:)](foundation/nsdate/isequal(to:).md)
- [earlierDate(_:)](foundation/nsdate/earlierdate(_:).md)
- [compare(_:)](foundation/nsdate/compare(_:).md)
