Click or drag to resize

CalendarConverterToModifiedJulian Method

Converts a DateTime object to modified julian date

Namespace:  DHI.Mike1D.Engine
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static double ToModifiedJulian(
	this DateTime gregorianDate
)

Parameters

gregorianDate
Type: SystemDateTime
DateTime object

Return Value

Type: Double
Modified Julian Date (days since November 17, 1858)

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DateTime. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also