Internet Direct (Indy)
Home
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.

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.