System.TDateTime.operator ++

From RAD Studio API Documentation
Jump to: navigation, search

C++

TDateTime& operator ++() {Val++; return *this;}
TDateTime operator ++(int) {TDateTime tmp(*this); Val++; return tmp;}

Properties

Type Visibility Source Unit Parent
function public systdate.h System TDateTime


Description

Increments the value of the TDateTime object by a specified number of days.

Use the unary operator ++ to increment the value of the TDateTime object by 1 day.

Use the binary operator ++ to increment the value by the number of days specified by the integer operand.