<!--
{
  "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/RunLoop/SchedulerTimeType",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:So9NSRunLoopC10FoundationE17SchedulerTimeTypeV"
  },
  "title" : "RunLoop.SchedulerTimeType"
}
-->

# RunLoop.SchedulerTimeType

The scheduler time type that the run loop uses.

```
struct SchedulerTimeType
```

## Topics

### Creating Scheduler Times

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

Initializes a run loop scheduler time with the given date.

### Working with Scheduler Time Intervals

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

The interval by which run loop times advance.

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

Returns a run loop scheduler time calculated by advancing this instance’s time by the given interval.

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

Returns the distance to another run loop scheduler time.

### Inspecting Properties

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

The date this type represents.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

---

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)