JulianConversionsGetJulian_Epoch2000 Method

Returns JD from epoch 2000. Meeus Ch 7.

Definition

Namespace: CoordinateSharp
Assembly: CoordinateSharp (in CoordinateSharp.dll) Version: 2.21.1.1
XMLNS for XAML: Not mapped to an xmlns.
C#
public static double GetJulian_Epoch2000(
	DateTime d
)

Parameters

d  DateTime
DateTime

Return Value

Double
Julian date from epoch 2000

Example

C#
DateTime date = new DateTime(2019,1,1);
double jul = JulianConversions.GetJulian_Epoch2000(date);
Console.WriteLine(jul); //6939.5

See Also