---
title: durationOptions
framework: gamekit
role: symbol
role_heading: Instance Property
path: gamekit/gkchallengedefinition/durationoptions
---

# durationOptions

The duration options for the challenge, like 1 day or 1 week.

## Declaration

```swift
var durationOptions: [DateComponents] { get }
```

## Discussion

Discussion note: If set, the amount of weeks is stored in the weekOfYear field. important: The actual duration of the challenge may be dynamically adjusted in order to accommodate different factors like players’ timezones.

## See Also

### Getting the challenge rules

- [isRepeatable](gamekit/gkchallengedefinition/isrepeatable.md)
