---
title: "CMTimeMake(value:timescale:)"
framework: coremedia
role: symbol
role_heading: Function
path: "coremedia/cmtimemake(value:timescale:)"
---

# CMTimeMake(value:timescale:)

Creates a time with a value and timescale.

## Declaration

```swift
func CMTimeMake(value: Int64, timescale: Int32) -> CMTime
```

## Parameters

- `value`: An integer time value.
- `timescale`: An integer timescale.

## Return Value

Return Value A time structure.

## See Also

### Creating a Time

- [CMTimeMakeWithEpoch(value:timescale:epoch:)](coremedia/cmtimemakewithepoch(value:timescale:epoch:).md)
- [CMTimeMakeWithSeconds(_:preferredTimescale:)](coremedia/cmtimemakewithseconds(_:preferredtimescale:).md)
- [CMTimeMakeFromDictionary(_:)](coremedia/cmtimemakefromdictionary(_:).md)
