Returns an integer representing the number of DateTime boundaries crossed, as defined by partOfDateTime, between the startDate and the endDate.
DateDiff Class | DomainObjects.Facade.Command.Function Namespace