IsNoon Function
Returns True if the Time portion represents Noon, 12:00pm.

Unit
QESBPCSDateTime

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

Parameters
DT Time to process.

Category
Date/Time Comparison

Implementation

function IsNoon (const DT: TDateTime): Boolean;
begin
     Result := Frac (DT) = 0.5;
End;


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