VeriStand .NET API Reference

Utilities.DateTimeToDouble Method

Converts the time stamp specified by dateTime to a double-precision, floating-point number.

Namespace: NationalInstruments.VeriStand.SystemDefinitionAPI
Assembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Public Shared Function DateTimeToDouble ( _
	dateTime As DateTime _
) As Double
C#
public static double DateTimeToDouble(
	DateTime dateTime
)
Visual C++
public:
static double DateTimeToDouble(
	DateTime dateTime
)

Parameters

dateTime
Type: System.DateTime
The time stamp to convert.

Return Value

The dateTime in double representation, as a total number of seconds.

See Also

Log in to get a better experience