Click or drag to resize
UnitAdd Method
Adds a specified amount of this unit to a date time and returns the new date time.

Namespace:  Apptus.ESales.Connector.Time
Assembly:  Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 4.5.0
Syntax
C#
public DateTime Add(
	DateTime dt,
	int amount
)

Parameters

dt
Type: SystemDateTime
The original date time.
amount
Type: SystemInt32
The amount of this units.

Return Value

Type: DateTime
The calculated date time.
See Also