Click or drag to resize

JulianConversionsGetJulian Method

Returns JD. Meeus Ch 7.

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

Parameters

d
Type: SystemDateTime
DateTime

Return Value

Type: Double
Julian date
Examples
DateTime date = new DateTime(2019,1,1);
double jul = JulianConversions.GetJulian(date);
Console.WriteLine(jul); //2458484.5
See Also