RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDateTime::DateString Method

Converts the date of the System::TDateTime::TDateTime value to a string.

Pascal
function DateString: String;
C++
__fastcall AnsiString DateString() const;

System::TDateTime::DateString returns the value of the System::TDateTime::TDateTime object as an AnsiString. The conversion uses the format specified by the ShortDateFormat global variable. 

 

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