Click or drag to resize

GlobalPositioningSystemDateSubtract Method (Duration)

Subtracts a Duration from this date, producing a new date.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public GlobalPositioningSystemDate Subtract(
	Duration duration
)

Parameters

duration
Type: AGI.Foundation.TimeDuration
The duration to subtract.

Return Value

Type: GlobalPositioningSystemDate
A new date that is the result of the subtraction.
Remarks
If the Standard of duration 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