DomainObjects Class Library

Field.AddDate Method (PartOfDateTime, Field)

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

public DateAdd AddDate(
   PartOfDateTime partOfDateTime,
   Field intervalToAdd
);

Parameters

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

Return Value

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

See Also

Field Class | DomainObjects.Facade.Command.Expression Namespace | Field.AddDate Overload List