---
title: "updateFireDate(_:completionHandler:)"
framework: homekit
role: symbol
role_heading: Instance Method
path: "homekit/hmtimertrigger/updatefiredate(_:completionhandler:)"
---

# updateFireDate(_:completionHandler:)

Updates the next fire date for the trigger.

## Declaration

```swift
func updateFireDate(_ fireDate: Date, completionHandler completion: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func updateFireDate(_ fireDate: Date) async throws
```

## Parameters

- `fireDate`: The new fire date.
- `completion`: The block executed after the request is processed.

## See Also

### Choosing the fire date

- [fireDate](homekit/hmtimertrigger/firedate.md)
