Icon SubtractDayTimeFromTime Method

function SubtractDayTimeFromTime(Value: TDateTime;
      DayTimeInterval: TEDBDayTimeInterval; DayTimeIntervalType:
      TEDBDayTimeIntervalType): TDateTime

Call the SubtractDayTimeFromTime method to subtract a day-time interval from a time value and return the new time value.

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