AddHrs Function
Adds a Floating Point amount of Hours to a Given Date/Time.

Unit
QESBPCSDateTime

Declaration
Function AddHrs(const DT: TDateTime; const Hrs: Extended): TDateTime;

Parameters
DT Date/Time to process.
Hrss Number of Hours to Add - can be negative.

Category
Date/Time Arithmetic Routines

Implementation

function AddHrs (const DT: TDateTime; const Hrs: Extended): TDateTime;
begin
     Result := DT + Hrs * OneDTHour
End;


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