Click or drag to resize

JulianConversionsGetJulian_Epoch2000 Method

Returns JD from epoch 2000. Meeus Ch 7.

Namespace:  CoordinateSharp
Assembly:  CoordinateSharp (in CoordinateSharp.dll) Version: 2.6.1.1
Syntax
C#
public static double GetJulian_Epoch2000(
	DateTime d
)

Parameters

d
Type: SystemDateTime
DateTime

Return Value

Type: Double
Julian date from epoch 2000
Examples
DateTime date = new DateTime(2019,1,1);
double jul = JulianConversions.GetJulian_Epoch2000(date);
Console.WriteLine(jul); //6939.5
See Also