---
title: timeInterval
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/timer/timeinterval
---

# timeInterval

The timer’s time interval, in seconds.

## Declaration

```swift
var timeInterval: TimeInterval { get }
```

## Discussion

Discussion If the timer is non-repeating, returns 0 even if a time interval was set.

## See Also

### Retrieving Timer Information

- [isValid](foundation/timer/isvalid.md)
- [fireDate](foundation/timer/firedate.md)
- [userInfo](foundation/timer/userinfo.md)
