<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.8.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKLeaderboard/TimeScope-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:@E@GKLeaderboardTimeScope"
  },
  "title" : "GKLeaderboard.TimeScope"
}
-->

# GKLeaderboard.TimeScope

Specifies the time period for filtering data.

```
enum TimeScope
```

## Topics

### Constants

[`GKLeaderboardTimeScopeToday`](/documentation/GameKit/GKLeaderboard/TimeScope-swift.enum/today)

Loads data for the past 24 hours.

[`GKLeaderboardTimeScopeWeek`](/documentation/GameKit/GKLeaderboard/TimeScope-swift.enum/week)

Loads data for the past week.

[`GKLeaderboardTimeScopeAllTime`](/documentation/GameKit/GKLeaderboard/TimeScope-swift.enum/allTime)

Loads a player’s best score.

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)