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

Adds a number of hours to the timestamp.

procedure AddHours(
    ANumber: Cardinal
);
Parameters 
Description 
ANumber 
Number of hours to add. 

AddHours is a procedure that adds the number of hours in ANumber to the current date and time value for the timestamp. Second, Day and Year will be adjusted accordingly.

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