JulianConversionsGetJulian_Epoch1970 Method

Returns JD from epoch 1970. Meeus Ch 7.

Definition

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

Parameters

d  DateTime
DateTime

Return Value

Double
Julian date from epoch 1970

Example

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

See Also