Click or drag to resize

JulianConversionsGetJulian_Epoch1970 Method

Returns JD from epoch 1970. Meeus Ch 7.

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

Parameters

d
Type: SystemDateTime
DateTime

Return Value

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