---
title: solarMidnight
framework: weatherkit
role: symbol
role_heading: Instance Property
path: weatherkit/sunevents/solarmidnight
---

# solarMidnight

Represents solar midnight, the time when the sun reaches its lowest point in the sky.

## Declaration

```swift
var solarMidnight: Date?
```

## Discussion

Discussion It may or may not be above the horizon at this time due to variations of solar events at extreme latitudes. If the lowest point is not below the horizon, this property is nil.

## See Also

### Getting the sun events

- [astronomicalDawn](weatherkit/sunevents/astronomicaldawn.md)
- [astronomicalDusk](weatherkit/sunevents/astronomicaldusk.md)
- [civilDawn](weatherkit/sunevents/civildawn.md)
- [civilDusk](weatherkit/sunevents/civildusk.md)
- [nauticalDawn](weatherkit/sunevents/nauticaldawn.md)
- [nauticalDusk](weatherkit/sunevents/nauticaldusk.md)
- [solarNoon](weatherkit/sunevents/solarnoon.md)
- [sunrise](weatherkit/sunevents/sunrise.md)
- [sunset](weatherkit/sunevents/sunset.md)
