<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMedia",
  "identifier" : "/documentation/CoreMedia/CMClock/convertSystemUnitsToHostTime(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Core Media",
      "CoreMedia"
    ],
    "preciseIdentifier" : "s:So10CMClockRefa9CoreMediaE28convertSystemUnitsToHostTimeySo6CMTimeas6UInt64VFZ"
  },
  "title" : "convertSystemUnitsToHostTime(_:)"
}
-->

# convertSystemUnitsToHostTime(_:)

Converts a host time from native units to a time structure.

```
static func convertSystemUnitsToHostTime(_ systemUnits: UInt64) -> CMTime
```

## Parameters

`systemUnits`

The host time to convert.

---

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)