<!--
{
  "availability" : [
    "iOS: 8.0.0 - 16.4.0",
    "iPadOS: 8.0.0 - 16.4.0",
    "macCatalyst: 8.0.0 - 16.4.0",
    "tvOS: 12.0.0 - 16.4.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 5.0.0 - 9.4.0"
  ],
  "documentType" : "symbol",
  "framework" : "HomeKit",
  "identifier" : "/documentation/HomeKit/HMTimerTrigger/updateTimeZone(_:completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "HomeKit"
    ],
    "preciseIdentifier" : "c:objc(cs)HMTimerTrigger(im)updateTimeZone:completionHandler:"
  },
  "title" : "updateTimeZone(_:completionHandler:)"
}
-->

# updateTimeZone(_:completionHandler:)

Updates the trigger’s time zone.

```
func updateTimeZone(_ timeZone: TimeZone?, completionHandler completion: @escaping @Sendable ((any Error)?) -> Void)
```

## Parameters

`timeZone`

The new time zone; may be `nil`.

`completion`

The block executed after the request is processed.

- error: `nil` on success; otherwise, error object indicating the reason for failure.

## Discussion

See [`timeZone`](/documentation/HomeKit/HMTimerTrigger/timeZone) for a description of how the time zone is interpreted.

---

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)