---
title: hours
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/calendar/recurrencerule/hours
---

# hours

On which hours of a 24-hour day the event should repeat.

## Declaration

```swift
var hours: [Int]
```
