Click or drag to resize

GlobalPositioningSystemDateSubtraction Operator (GlobalPositioningSystemDate, GlobalPositioningSystemDate)

Subtracts a date from another date, yielding a Duration.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public static Duration operator -(
	GlobalPositioningSystemDate left,
	GlobalPositioningSystemDate right
)

Parameters

left
Type: AGI.Foundation.TimeGlobalPositioningSystemDate
The minuend.
right
Type: AGI.Foundation.TimeGlobalPositioningSystemDate
The subtrahend.

Return Value

Type: Duration
The Duration that is the result of the subtraction; that is, left minus right.
Remarks
This method subtracts the right date from the left date and returns the Duration between them.
See Also