Subtracts a timestamp from a timestamp, calculating the time difference between the timestamps.

Namespace:  Rebex.Net
Assembly:  Rebex.Time (in Rebex.Time.dll)

Syntax

Visual Basic
Public Shared Operator - ( _
	a As NtpTimestamp, _
	b As NtpTimestamp _
) As NtpTimestampDifference
C#
public static NtpTimestampDifference operator -(
	NtpTimestamp a,
	NtpTimestamp b
)

Parameters

a
Type: Rebex.Net..::..NtpTimestamp
A timestamp.
b
Type: Rebex.Net..::..NtpTimestamp
A timestamp.

Return Value

A time difference (positive or negative).

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also