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

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

Pascal
operator --;
operator --(: Integer);
C++
TDateTime& operator --();
TDateTime operator --(int);

Use the unary System::TDateTime::operator_MinusMinus to decrement the value of the System::TDateTime::TDateTime object by 1 day.  

Use the binary System::TDateTime::operator_MinusMinus to decrement the value by the number of days specified by the integer operand. 

 

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