---
title: timeRange
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avassetreader/timerange
---

# timeRange

The time range within the asset to read.

## Declaration

```swift
var timeRange: CMTimeRange { get set }
```

## Discussion

Discussion The default value is a time range with a start time of zero and a duration of positiveInfinity. You can’t modify this value after reading starts.

## See Also

### Configuring reading

- [status](avfoundation/avassetreader/status-swift.property.md)
- [AVAssetReader.Status](avfoundation/avassetreader/status-swift.enum.md)
- [error](avfoundation/avassetreader/error.md)
