SubtractMins Function
Subtracts a Floating Point amount of Minutes from a Given Date/Time.

Unit
QESBPCSDateTime

Declaration
Function SubtractMins(const DT: TDateTime; const Mins: Extended): TDateTime;

Parameters
DT Date/Time to process.
Mins Number of Minutes to Subtract - can be negative.

Category
Date/Time Arithmetic Routines

Implementation

function SubtractMins (const DT: TDateTime; const Mins: Extended): TDateTime;
begin
     Result := AddMins (DT, -1 * Mins);
End;


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