Click or drag to resize

GlobalPositioningSystemDateAdd Method

Adds a Duration to this date, producing a new date.

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

Parameters

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

Return Value

Type: GlobalPositioningSystemDate
A new Date that is the result of the addition.
Remarks
If the Standard of duration is not GlobalPositioningSystemTime, the date will be converted to the duration's time standard before performing the addition. Then, the resulting date will be converted to GlobalPositioningSystemTime before it is returned.
See Also