<< Click to Display Table of Contents >> Navigation: Apollo VCL Components > Apollo VCL Component Reference > TApolloTable > TApolloTable Methods > GetDateString |
Declaration
function GetDateString( sFieldName: String ): String;
Description
Extracts the contents of a date field as a string formatted according to the date mask specified by SetDateFormat and the setting of SetCentury. The default value is American date format (MM/DD/YY).
Parameters
sFieldName: The name of the field.
Return Value
The date is returned as a string.
Delphi Example
Edit1.Text := ApTbl.GetDateString( 'HIREDATE' );
C++Builder Example
Edit1->Text = ApTbl->GetDateString( "HIREDATE" );
See Also