Icon SubtractDayTimeFromDateTime Method

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

Call the SubtractDayTimeFromDateTime method to subtract a day-time interval from a date-time value and return the new date-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