RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDateTime::DateString Method

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

Pascal
function DateString: System::String;
C++
__fastcall System::String 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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!