DomainObjects Class Library

Field.AddDate Method (PartOfDateTime, String)

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

public DateAdd AddDate(
   PartOfDateTime partOfDateTime,
   String 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