System.TDateTime.operator -
C++
TDateTime operator -(const TDateTimeBase& rhs) const
TDateTime operator -(const TDateTime& rhs) const
TDateTime operator -(const double rhs) const {return Val-rhs;}
TDateTime operator -(const int rhs) const {return Val-rhs;}
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | systdate.h | System | TDateTime |
Description
Subtracts a specified value from the TDateTime object.
Use the operator - to subtract the value specified by the rhs operand from the TDateTime object. The rhs operand represents the number of days (including fractional days) to subtract.