System.TDateTime.operator +

From RAD Studio API Documentation
Jump to: navigation, search

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

Adds a specified value to the TDateTime object.

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