Icon SubtractDateTimeFromDateTimeAsDayTime Method

__int64 __fastcall
      SubtractDateTimeFromDateTimeAsDayTime(System::TDateTime
      FirstValue, System::TDateTime SecondValue,
      TEDBDayTimeIntervalType DayTimeIntervalType)

Call the SubtractDateTimeFromDateTimeAsDayTime method to subtract a date-time value from another date-time value, returning the result as a day-time interval.

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