Topic Path: Pending > TIdDateTimeStamp.SetYear
ContentsIndexHome
PreviousUpNext
TIdDateTimeStamp.SetYear

Updates an Indy timestamp to reflect the specified year.

Parameters 
Description 
ANumber 
Year number to be assigned to the Indy timestamp. 

SetYear is a procedure used to assign the year number in ANumber to the Indy timestamp. When ANumber is 0 (zero), this is considered to be an invalid year number and no update is performed. SetYear will adjust the Indy timestamp using the CheckLeapYear method for the year specified in ANumber.

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