Returns a Julian date as a string formatted according to the supplied presentation format

Namespace: ASCOM.Astrometry.AstroUtils
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public string FormatJD(
	double JD,
	string PresentationFormat
)
Visual Basic
Public Function FormatJD ( _
	JD As Double, _
	PresentationFormat As String _
) As String
Visual C++
public:
virtual String^ FormatJD(
	double JD, 
	String^ PresentationFormat
) sealed

Parameters

JD
Type: System..::..Double
Julian date
PresentationFormat
Type: System..::..String
Format representation

Return Value

Date as a string

Remarks

This expects the standard Microsoft date and time formatting characters as described in http://msdn.microsoft.com/en-us/library/362btx8f(v=VS.90).aspx

See Also