---
title: lifeTimeInDays
framework: networkextension
role: symbol
role_heading: Instance Property
path: networkextension/nehotspotconfiguration/lifetimeindays
---

# lifeTimeInDays

The number of days the network retains the associated configuration.

## Declaration

```swift
@NSCopying var lifeTimeInDays: NSNumber { get set }
```

## Discussion

Discussion The minimum value is 1 day and the maximum value is 365 days. If this property is not set or is set to an invalid value the configuration never expires. This property doesn’t apply to Enterprise or HS2.0 networks.

## See Also

### Accessing configuration properties

- [ssid](networkextension/nehotspotconfiguration/ssid.md)
- [ssidPrefix](networkextension/nehotspotconfiguration/ssidprefix.md)
- [joinOnce](networkextension/nehotspotconfiguration/joinonce.md)
- [hidden](networkextension/nehotspotconfiguration/hidden.md)
