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

# OperationQueue.SchedulerTimeType

The scheduler time type the operation queue uses.

```
struct SchedulerTimeType
```

## Topics

### Creating Scheduler Time Types

[`init(Date)`](/documentation/Foundation/OperationQueue/SchedulerTimeType/init(_:))

Creates an operation queue scheduler time with the given date.

### Managing Scheduler Time Type Properties

[`var date: Date`](/documentation/Foundation/OperationQueue/SchedulerTimeType/date)

The date this type represents.

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

Calculates an operation queue scheduler time by advancing the scheduler time type’s date by the given interval.

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

The distance to another operation queue scheduler time.

[`struct Stride`](/documentation/Foundation/OperationQueue/SchedulerTimeType/Stride)

The interval by which operation queue times advance.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

---

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)