CelestialGet_Next_MoonSet(Double, Double, DateTime) Method

Gets the next moon set from the provided point in time at the passed location.

Definition

Namespace: CoordinateSharp
Assembly: CoordinateSharp (in CoordinateSharp.dll) Version: 2.21.1.1
XMLNS for XAML: Not mapped to an xmlns.
C#
public static DateTime Get_Next_MoonSet(
	double lat,
	double longi,
	DateTime geoDate
)

Parameters

lat  Double
Latitude
longi  Double
Longitude
geoDate  DateTime
DateTime at Location

Return Value

DateTime
DateTime

Example

The following example gets the next moon set from the point in time at the provided location.
C#
DateTime d = new DateTime(2019, 2, 6);

//JBMDL
DateTime moon = Celestial.Get_Next_MoonSet(40.0352, -74.5844, d); //2/7/2019 12:08:33 AM (UTC)

See Also