CelestialGet_Next_SunRise(Coordinate) Method
Gets the next sunrise from the provided point in time at the passed location.
Namespace: CoordinateSharpAssembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
public static DateTime Get_Next_SunRise(
Coordinate coordinate
)
- coordinate Coordinate
- Coordinate
DateTimeDateTime
The following example gets the next sunrise from the point in time at the provided location.
DateTime d = new DateTime(2019, 2, 6);
Coordinate c = new Coordinate(40.0352, -74.5844, d);
//JBMDL
DateTime sun = Celestial.Get_Next_SunRise(c); //2/6/2019 12:03:33 PM (UTC)