IsSunday Function
Returns True if the Date represents a Sunday.

Unit
QESBPCSDateTime

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

Parameters
DT Time to process.

Category
Date/Time Comparison

Implementation

function IsSunday (const DT: TDateTime): Boolean;
begin
     Result := DayOfWeek (DT) = 1;
End;


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