CelestialGet_Last_MoonRise(Double, Double, DateTime, Double) Method
Gets the last moon rise 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_Last_MoonRise(
double lat,
double longi,
DateTime geoDate,
double offset
)
- lat Double
- Latitude
- longi Double
- Longitude
- geoDate DateTime
- DateTime at Location
- offset Double
- UTC Offset
DateTimeDateTime
The following example gets the last moon rise from the point in time at the provided location using a UTC offset to convert the time to local.
DateTime d = new DateTime(2019, 2, 6);
//JBMDL (EST TIME)
DateTime moon = Celestial.Get_Last_MoonRise(40.0352, -74.5844, d, -4); //2/5/2019 8:39:02 AM (EST)