Internet Direct (Indy)
Home
PreviousUpNext
TIdThreadSafeDateTime.Subtract Method

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

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

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.