---
title: "setTimeZoneWith(_:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustertimesynchronization/settimezonewith(_:completion:)"
---

# setTimeZoneWith(_:completion:)

Command SetTimeZone

## Declaration

```swift
func setTimeZoneWith(_ params: MTRTimeSynchronizationClusterSetTimeZoneParams, completion: @escaping @Sendable (MTRTimeSynchronizationClusterSetTimeZoneResponseParams?, (any Error)?) -> Void)
```

```swift
func setTimeZoneWith(_ params: MTRTimeSynchronizationClusterSetTimeZoneParams) async throws -> MTRTimeSynchronizationClusterSetTimeZoneResponseParams
```

## Discussion

Discussion This command is used to set the time zone of the node.
