<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.4.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/CVTime",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Video"
    ],
    "preciseIdentifier" : "c:@SA@CVTime"
  },
  "title" : "CVTime"
}
-->

# CVTime

A structure for reporting Core Video time values.

```
struct CVTime
```

## Overview

This structure is equivalent to the QuickTime `QTTime` structure.

## Topics

### Initializers

[`init()`](/documentation/CoreVideo/CVTime/init())

[`init(timeValue:timeScale:flags:)`](/documentation/CoreVideo/CVTime/init(timeValue:timeScale:flags:))

### Properties

[`flags`](/documentation/CoreVideo/CVTime/flags)

The flags associated with the `CVTime` value. See [CVTime Values](/documentation/CoreVideo/cvtime-values) for possible values. If `kCVTimeIsIndefinite` is set, you should not use any of the other fields in this structure.

[`timeScale`](/documentation/CoreVideo/CVTime/timeScale)

The time scale for this value.

[`timeValue`](/documentation/CoreVideo/CVTime/timeValue)

The time value.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)