<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AlarmKit",
  "identifier" : "/documentation/AlarmKit/Alarm/Schedule-swift.enum/relative(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "AlarmKit"
    ],
    "preciseIdentifier" : "s:8AlarmKit0A0V8ScheduleO8relativeyA2E8RelativeVcAEmF"
  },
  "title" : "Alarm.Schedule.relative(_:)"
}
-->

# Alarm.Schedule.relative(_:)

An alarm that can repeat and fire at a time relative to the device’s
current time zone.

```
case relative(Alarm.Schedule.Relative)
```

## Discussion

You can use `relative` for events which need to take into
account the current time zone. For example, a wake up alarm.

---

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)