Internet Direct (Indy)
Home
PreviousUpNext
TIdThreadSafeDateTime.Add Method

Adds a date/time value to the current value for the thread-safe data type.

Pascal
procedure Add(
    const AValue: TIdDateTime
);
Parameters 
Description 
AValue 
Native date/time value to add to the current value. 

Add is a procedure used to add the date/time value specified in AValue to the current Value for the thread-safe data type. 

AValue is a native date/time value to add to the current Value for the data type. AValue represents the number of days and fractional days to be added to Value

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

Use Subtract to decrease 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.