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

# setDSTOffsetWith(_:completion:)

Command SetDSTOffset

## Declaration

```swift
func setDSTOffsetWith(_ params: MTRTimeSynchronizationClusterSetDSTOffsetParams, completion: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func setDSTOffsetWith(_ params: MTRTimeSynchronizationClusterSetDSTOffsetParams) async throws
```

## Discussion

Discussion This command is used to set the DST offsets for a node.
