---
title: relevantDate
framework: passkit
role: symbol
role_heading: Instance Property
path: passkit/pkpass/relevantdate
---

# relevantDate

The date when the pass is most likely to be useful or necessary.

## Declaration

```swift
var relevantDate: Date? { get }
```

## Discussion

Discussion You can use this property for sorting UI elements that represent passes, such as cells in a table view.

## See Also

### Getting the display attributes

- [icon](passkit/pkpass/icon.md)
- [localizedValue(forFieldKey:)](passkit/pkpass/localizedvalue(forfieldkey:).md)
- [organizationName](passkit/pkpass/organizationname.md)
- [PKPassRelevantDate](passkit/pkpassrelevantdate.md)
