Call the SubtractDateFromDateAsDayTime method to subtract a date value from another date value, returning the result as a day-time interval.
In ElevateDB, day-time intervals are Int64 values that represent the number of milliseconds that have elapsed between two points in time. Use the TEDBEngine DayTimeIntervalToSQLStr method to convert a day-time interval into a readable string.