---
title: "convertSystemUnitsToHostTime(_:)"
framework: coremedia
role: symbol
role_heading: Type Method
path: "coremedia/cmclock/convertsystemunitstohosttime(_:)"
---

# convertSystemUnitsToHostTime(_:)

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

## Declaration

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

## Parameters

- `systemUnits`: The host time to convert.

## See Also

### Converting Time

- [convertHostTimeToSystemUnits(_:)](coremedia/cmclock/converthosttimetosystemunits(_:).md)
