Create FITS format date string. Note that the date is not rounded.


Namespace: nom.tam.fits
Assembly: CSharpFITS_v1.1 (in CSharpFITS_v1.1.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function GetFitsDateString( _ 
   ByVal epoch As Date,  _ 
   ByVal timeOfDay As Boolean _ 
) As String
C#
public static string GetFitsDateString(
   DateTime epoch,
   bool timeOfDay
)
C++
public:
 static String GetFitsDateString(
   DateTime epoch,
   bool timeOfDay
)
J#
public static string GetFitsDateString(
   DateTime epoch,
   bool timeOfDay
)
JScript
public static  function GetFitsDateString(
   epoch : DateTime,
   timeOfDay : bool
) : String

Parameters

epoch
The epoch to be converted to FITS format.
timeOfDay
Should time of day information be included?

See Also