Topic Path: Symbol Reference > Classes > TIdDateTimeStamp Class > TIdDateTimeStamp Methods > SubtractTIdDateTimeStamp Method
ContentsIndexHome
PreviousUpNext
TIdDateTimeStamp.SubtractTIdDateTimeStamp Method

Subtracts a native date/time value from an Indy timestamp.

procedure SubtractTIdDateTimeStamp(
    AIdDateTime: TIdDateTimeStamp
);
Parameters 
Description 
AIdDateTime 
The date and time value to be subtracted from the Indy timestamp. 

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

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.