---
title: expirationDate
framework: watchkit
role: symbol
role_heading: Instance Property
path: watchkit/wkextendedruntimesession/expirationdate
---

# expirationDate

The time and date when the session expires.

## Declaration

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

## Mentioned in

Using extended runtime sessions

## Discussion

Discussion Use this property to determine how much time remains before the session stops running. This property starts set to nil. The system assigns a date as soon as the session starts running. This property remains valid, even after the session becomes invalid.

## See Also

### Managing the Session State

- [start()](watchkit/wkextendedruntimesession/start().md)
- [start(at:)](watchkit/wkextendedruntimesession/start(at:).md)
- [invalidate()](watchkit/wkextendedruntimesession/invalidate().md)
- [state](watchkit/wkextendedruntimesession/state.md)
- [WKExtendedRuntimeSessionState](watchkit/wkextendedruntimesessionstate.md)
- [requestAutoLaunchAuthorizationStatus(completion:)](watchkit/wkextendedruntimesession/requestautolaunchauthorizationstatus(completion:).md)
- [WKExtendedRuntimeSessionAutoLaunchAuthorizationStatus](watchkit/wkextendedruntimesessionautolaunchauthorizationstatus.md)
