Internet Direct (Indy) Version 9.0.2 Beta
TIdDateTimeStamp.DaysInYear
Number of days in the year for the Indy timestamp.

property DaysInYear: Integer;
Description
DaysInYear is a read-only Integer property that contains the number of days in the year represented by the Indy timestamp. DaysInYear is calculated and accounts for Leap Day in its operation.