VeriStand .NET API Reference

Utilities.DoubleToDateTime Method

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

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 DoubleToDateTime ( _
	totalSeconds As Double _
) As DateTime
C#
public static DateTime DoubleToDateTime(
	double totalSeconds
)
Visual C++
public:
static DateTime DoubleToDateTime(
	double totalSeconds
)

Parameters

totalSeconds
Type: System.Double
The number to convert to a time stamp. This value must represent a number of seconds.

Return Value

The totalSeconds as a time stamp.

See Also