<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WeatherKit",
  "identifier" : "/documentation/WeatherKit/SunEvents/solarMidnight",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "WeatherKit"
    ],
    "preciseIdentifier" : "s:10WeatherKit9SunEventsV13solarMidnight10Foundation4DateVSgvp"
  },
  "title" : "solarMidnight"
}
-->

# solarMidnight

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

```
var solarMidnight: Date?
```

## 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`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)