CelestialGet_Next_SunSet(Double, Double, DateTime) Method
Gets the next sunset 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_SunSet(
double lat,
double longi,
DateTime geoDate
)
- lat Double
- Latitude
- longi Double
- Longitude
- geoDate DateTime
- DateTime at Location
DateTimeDateTime
The following example gets the next sunset from the point in time at the provided location.
DateTime d = new DateTime(2019, 2, 6);
//JBMDL
DateTime sun = Celestial.Get_Next_SunSet(40.0352, -74.5844, d); //2/6/2019 10:23:54 PM (UTC)