SubtractTDateTime is a procedure used to subtract the TDateTime value specified in ADateTime from the Indy timestamp. SubtractTDateTime will adjust Milliseconds, Seconds,
Day, and
Year accordingly. SubtractTDateTime calls
SubtractTTimeStamp to implement its operation.