| SubtractMins Function |
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 RoutinesImplementation
function SubtractMins (const DT: TDateTime; const Mins: Extended): TDateTime;
begin
Result := AddMins (DT, -1 * Mins);
End; |
|
|