IsLastDayOfYear Function
Returns true if the date is the last day of a Year.

Unit
QESBPCSDateTime

Declaration
Function IsLastDayOfYear(const DT: TDateTime): Boolean;

Parameters
DT Date to process.

Category
Date/Time Comparison
Year Based Arithmetic Routines

Implementation

function IsLastDayOfYear (const DT: TDateTime): Boolean;
begin
     Result := Int (DT) = Int (GetLastDayOfYear (DT));
End;


HTML generated by Time2HELP
http://www.time2help.com