Click or drag to resize

GlobalPositioningSystemDateSubtraction Operator (GlobalPositioningSystemDate, Duration)

Subtracts a Duration from a date, yielding a new GlobalPositioningSystemDate.

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


Type: AGI.Foundation.TimeGlobalPositioningSystemDate
The minuend.
Type: AGI.Foundation.TimeDuration
The subtrahend.

Return Value

Type: GlobalPositioningSystemDate
The date that is the result of the subtraction; that is, left minus right. The time standard will be the same as the time standard of the subtrahend.
If the Standard of right is not GlobalPositioningSystemTime, the date will be converted to the duration's time standard before performing the subtraction. Then, the resulting date will be converted to GlobalPositioningSystemTime before it is returned.
See Also