RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDateTime::-= Operator (TDateTime&)

Decrements the value of this System::TDateTime::TDateTime object by a specified value.

Pascal
operator -=(const rhs: TDateTimeBase&);
operator -=(const rhs: TDateTime&);
operator -=(const rhs: double);
operator -=(const rhs: Integer);
C++
__fastcall TDateTime& operator -=(const TDateTimeBase& rhs);
__fastcall TDateTime& operator -=(const TDateTime& rhs);
__fastcall TDateTime& operator -=(const double rhs);
__fastcall TDateTime& operator -=(const int rhs);

Use the -= System::TDateTime::-= to subtract the value specified by rhs from this System::TDateTime::TDateTime value. The rhs operand represents the number of days (including fractional days) to subtract. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!