---
title: moonset
framework: weatherkit
role: symbol
role_heading: Instance Property
path: weatherkit/moonevents/moonset
---

# moonset

The time of moonset.

## Declaration

```swift
var moonset: Date?
```

## Discussion

Discussion Moonset occurs when the moon sets below Earth’s horizon.

## See Also

### Getting the moon events

- [moonrise](weatherkit/moonevents/moonrise.md)
- [phase](weatherkit/moonevents/phase.md)
