GetDate

<< Click to Display Table of Contents >>

Navigation:  Apollo VCL Components > Apollo VCL Component Reference > TApolloTable > TApolloTable Methods >

GetDate

Declaration

function GetDate( sFieldName: String ): TDateTime;

Description

Extracts the contents of a date field as a TDateTime type.

Parameters

sFieldName: The name of the field.

Return Value

The date is returned as a TDateTime type. See the Delphi / C++Builder documentation for additional information on the TDateTime type.

Delphi Example

dtVal := ApTbl.GetDate( 'HIREDATE' );

C++Builder Example

dtVal = ApTbl->GetDate( "HIREDATE" );

See Also

GetDateJulian, GetDateString