| SubtractSecs Function |
Unit
QESBPCSDateTime
Declaration
Function SubtractSecs(const DT: TDateTime; const Secs: Extended): TDateTime;
| Parameters |
| DT | Date/Time to process. |
| Secs | Number of Seconds to Subtract - can be negative. |
Category
Date/Time Arithmetic RoutinesImplementation
function SubtractSecs (const DT: TDateTime; const Secs: Extended): TDateTime;
begin
Result := AddSecs (DT, -1 * Secs);
End; |
|
|