DomainObjects Class Library

DateAdd Constructor (PartOfDateTime, ValueType, Field)

Returns a new DateTime based upon adding the specified interval to the given date.

public DateAdd(
   PartOfDateTime partOfDateTime,
   ValueType intervalToAdd,
   Field date
);

Parameters

partOfDateTime
The DateTime part to which the interval will be added.
intervalToAdd
The interval to add.
date
The date to which the interval will be added.

See Also

DateAdd Class | DomainObjects.Facade.Command.Function Namespace | DateAdd Constructor Overload List