Internet Direct (Indy) Version 9.0.1 Beta
TIdDateTimeStamp.SetDay
Updates the Day of Year for the Indy timestamp.

procedure SetDay(ANumber: Integer);
Parameters
ANumber: Integer
Day number to assign to the Indy timestamp.

Description
SetDay is a procedure used to update the Day property for the Indy timestamp. ANumber is the day of year to be assigned to the Indy timestamp. SetDay changes the Day property to 0 (zero) and calls AddDays using the value in ANumber to adjust the Indy timestamp.