RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDateTime::AnsiString Operator

Converts the System::TDateTime::TDateTime object to an AnsiString.

Pascal
operator AnsiString;
C++
__fastcall operator AnsiString() const;

The AnsiString conversion System::TDateTime::AnsiString returns an AnsiString object that is the string conversion of this System::TDateTime::TDateTime object. The conversion uses the format specified by the LongTimeFormat global variable of the System::TDateTime::TDateTime formatting variables. Change the format of the string display by changing the values of some of the date and time variables. 

 

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