IsFirstDayOfYear Function
Returns true if the date is the first day of a Year.

Unit
QESBPCSDateTime

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

Parameters
DT Date to process.

Category
Date/Time Comparison
Year Based Arithmetic Routines

Implementation

function IsFirstDayOfYear (const DT: TDateTime): Boolean;
begin
     Result := Int (DT) = Int (GetFirstDayOfYear (DT));
End;


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