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

Increments 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 add to the value specified by rhs to this System::TDateTime::TDateTime value. The rhs operand represents the number of days (including fractional days) to add. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!