UnitAdd Method A Sandcastle Documented Class Library
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.2.1
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

Reference