Click or drag to resize

JulianConversionsGetDate_FromJulian_Epoch1970 Method

Returns date from Julian based on epoch 1970 Meeus ch. 7

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

Parameters

j
Type: SystemDouble
Julian date (epoch 1970)

Return Value

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