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

Adds a specified value to the System::TDateTime::TDateTime object.

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

Use the + System::TDateTime::+ to add the value specified by the rhs operand to the System::TDateTime::TDateTime object. The rhs operand represents the number of days (including fractional days) to add. 

 

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