<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Dispatch",
  "identifier" : "/documentation/Dispatch/DispatchQueue/SchedulerTimeType",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Dispatch"
    ],
    "preciseIdentifier" : "s:So17OS_dispatch_queueC8DispatchE17SchedulerTimeTypeV"
  },
  "title" : "DispatchQueue.SchedulerTimeType"
}
-->

# DispatchQueue.SchedulerTimeType

The scheduler time type used by the dispatch queue.

```
struct SchedulerTimeType
```

## Topics

### Creating Scheduler Times

[`init(DispatchTime)`](/documentation/Dispatch/DispatchQueue/SchedulerTimeType/init(_:))

Creates a dispatch queue time type instance.

### Working with Scheduler Time Intervals

[`func advanced(by: DispatchQueue.SchedulerTimeType.Stride) -> DispatchQueue.SchedulerTimeType`](/documentation/Dispatch/DispatchQueue/SchedulerTimeType/advanced(by:))

[`func distance(to: DispatchQueue.SchedulerTimeType) -> DispatchQueue.SchedulerTimeType.Stride`](/documentation/Dispatch/DispatchQueue/SchedulerTimeType/distance(to:))

### Inspecting Scheduler Time Properties

[`var dispatchTime: DispatchTime`](/documentation/Dispatch/DispatchQueue/SchedulerTimeType/dispatchTime)

The dispatch time represented by this type.

### Comparing Scheduler Times

### Hashing Values

### Encoding Times

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Strideable`](/documentation/Swift/Strideable)

[`Hashable`](/documentation/Swift/Hashable)

[`Encodable`](/documentation/Swift/Encodable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`Comparable`](/documentation/Swift/Comparable)

[`Decodable`](/documentation/Swift/Decodable)

---

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)