Click or drag to resize

JulianConversionsGetDate_FromJulian Method

Returns date from Julian Meeus ch. 7

Namespace:  CoordinateSharp
Assembly:  CoordinateSharp (in CoordinateSharp.dll) Version: 2.6.1.1
Syntax
C#
public static Nullable<DateTime> GetDate_FromJulian(
	double j
)

Parameters

j
Type: SystemDouble
Julian date

Return Value

Type: NullableDateTime
DateTime
Examples
double jul = 2458484.5;
DateTime? date = JulianConversions.GetDate_FromJulian(jul);
Console.WriteLine(date); //1/1/2019 12:00:00 AM
See Also