Internet Direct (Indy) Version 9.0.2 Beta
Content
|
Index
|
Reference
TIdDateTimeStamp.AddYears
TIdDateTimeStamp
Adds a number of years to the timestamp.
procedure
AddYears(ANumber: Cardinal);
Parameters
ANumber: Cardinal
Number of years to be added.
Description
AddYears is a procedure that adds the number of years specified in ANumber to the date/time. After adding the specified number of years,
IsLeapYear
will be updated for the new
Year
value.