AddSecs Function
Adds a Floating Point amount of Seconds to a Given Date/Time.

Unit
QESBPCSDateTime

Declaration
Function AddSecs(const DT: TDateTime; const Secs: Extended): TDateTime;

Parameters
DT Date/Time to process.
Secs Number of Seconds to Add - can be negative.

Category
Date/Time Arithmetic Routines

Implementation

function AddSecs (const DT: TDateTime; const Secs: Extended): TDateTime;
begin
     Result := DT + Secs * OneDTSecond
End;


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