Converts an absolute time to a relative timeout.

Namespace:  Quanser.Common
Assembly:  Quanser.Common (in Quanser.Common.dll)

Syntax

Visual Basic (Declaration)
Public Function GetRelative As Timeout
C#
public Timeout GetRelative()
Visual C++
public:
Timeout^ GetRelative()
JavaScript
function getRelative();

Return Value

Returns a relative timeout derived by converting the given absolute time to a relative timeout.

Remarks

If the timeout is absolute then this method returns a relative timeout derived by subtracting the current time from it. If the timeout is already relative then it simply returns a copy of the timeout.

See Also