System.TimeSpan.TTimeSpan._op_Subtraction
C++
static TTimeSpan __fastcall _op_Subtraction(const TTimeSpan &Left, const TTimeSpan &Right);
static System::TDateTime __fastcall _op_Subtraction(const System::TDateTime Left, const TTimeSpan &Right);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.TimeSpan.hpp | System.TimeSpan | TTimeSpan |
Description
Overloaded - operator.
op Subtraction returns an instance of TTimeSpan whose Days, Hours, Minutes, Seconds and Milliseconds properties represent the difference between the corresponding properties of the Left and Right parameters.
Note: If the Left or Right parameters are of type TDateTime, the return value is of type TDateTime.
Note: Do not call the Subtraction operator directly. It is an overload for the - operator.