---
title: "-(_:_:)"
framework: coremedia
role: symbol
role_heading: Operator
path: "coremedia/cmtime/-(_:_:)"
---

# -(_:_:)

Returns a new time that represents the difference between two times.

## Declaration

```swift
static func - (minuend: CMTime, subtrahend: CMTime) -> CMTime
```

## Parameters

- `minuend`: A time value.
- `subtrahend`: A time value to subtract from the minuend.

## Return Value

Return Value A time value that represents the result of the operation.

## See Also

### Performing Time Calcualtions

- [+(_:_:)](coremedia/cmtime/+(_:_:).md)
