Topic Path: Symbol Reference > Classes > TIdThreadSafeDateTime Class > TIdThreadSafeDateTime Methods > Subtract Method
ContentsIndexHome
PreviousUpNext
TIdThreadSafeDateTime.Subtract Method

Decreases the current value for the thread-safe data type by the specified numer of days and hours.

procedure Subtract(
    const AValue: TIdDateTime
);
Parameters 
Description 
AValue 
Native date/time value to subtrazct from the current value. 

Subtract is a procedure used to decrease the current Value for the thread-safe data type by the number of days and hours indicated in AValue. 

Subtract uses the resource protect features of the data type when updating Value

Use Add to increase Value by the number of Days and Hours indicated in another date/time value.

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