int __fastcall SubtractDateFromDateAsYearMonth(System::TDateTime
FirstValue, System::TDateTime SecondValue,
TEDBYearMonthIntervalType YearMonthIntervalType)
Call the SubtractDateFromDateAsYearMonth method to subtract a date value from another date value, returning the result as a year-month interval.
In ElevateDB, year-month intervals are Integer values that represent the number of days that have elapsed between two calendar days. Use the TEDBEngine YearMonthIntervalToSQLStr method to convert a year-month interval into a readable string.