Internet Direct (Indy) Version 9.0.2 Beta
TIdDateTimeStamp.SubtractTDateTime
Subtracts a TDateTime value from the Indy timestamp.

procedure SubtractTDateTime(ADateTime: TDateTime);
Parameters
ADateTime: TDateTime
The date and time value to be subtracted from the Indy timestamp.

Description
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.