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

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

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.

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