Icon AddYearMonthToDate Method

System::TDateTime __fastcall
      AddYearMonthToDate(System::TDateTime Value, int
      YearMonthInterval, TEDBYearMonthIntervalType
      YearMonthIntervalType)

Call the AddYearMonthToDate method to add a year-month interval to a date value and return the new date value.

Information 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.
Image