CelestialGet_Last_MoonSet(Coordinate) Method

Gets the last 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_Last_MoonSet(
	Coordinate coordinate
)

Parameters

coordinate  Coordinate
Coordinate

Return Value

DateTime
DateTime

Example

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

//JBMDL
DateTime moon = Celestial.Get_Last_MoonSet(c); //2/5/2019 11:11:09 PM (UTC)

See Also