---
title: offset
framework: homekit
role: symbol
role_heading: Instance Property
path: homekit/hmmutablesignificanttimeevent/offset
---

# offset

The offset from the significant event that this event fires at.

## Declaration

```swift
var offset: DateComponents { get set }
```

## Discussion

Discussion To specify that this event should fire before the significant event, supply a date components object with negative values. For example, to specify 30 minutes before sunset, the minute property of the value of the offset property must be set to -30.

## See Also

### Configuring a significant time event

- [significantEvent](homekit/hmmutablesignificanttimeevent/significantevent.md)
