DomainObjects Class Library

DateDiff Constructor 

Returns an integer representing the number of DateTime boundaries crossed, as defined by partOfDateTime, between the startDate and the endDate.

public DateDiff(
   PartOfDateTime partOfDateTime,
   Field startDate,
   Field endDate
);

Parameters

partOfDateTime
The DateTime boundary to evaluate.
startDate
The start date.
endDate
The end date.

Return Value

See Also

DateDiff Class | DomainObjects.Facade.Command.Function Namespace