---
title: "CMTimeRangeMake(start:duration:)"
framework: Core Media
role: symbol
role_heading: Function
platforms: [iOS 4.0+, iPadOS 4.0+, Mac Catalyst 13.1+, macOS 10.7+, tvOS 9.0+, visionOS 1.0+, watchOS 6.0+]
path: "coremedia/cmtimerangemake(start:duration:)"
---

# CMTimeRangeMake(start:duration:)

Creates a valid time range with a start time and duration.

## Declaration

```swift
func CMTimeRangeMake(start: CMTime, duration: CMTime) -> CMTimeRange
```

## Parameters

- `start`: The start of the time range.
- `duration`: The duration of the time range.

## Return Value

Return Value A valid time range structure, or an invalid time range if the duration’s epoch isn’t 0.

## See Also

### Creating Time Ranges

- [CMTimeRangeMakeFromDictionary(_:)](coremedia/cmtimerangemakefromdictionary(_:).md)
- [CMTimeRangeFromTimeToTime(start:end:)](coremedia/cmtimerangefromtimetotime(start:end:).md)
