function isDateField(fieldno : Integer): Boolean;

Function isDateField() returns TRUE is a field is Date or DateTime.


begin
    // your code
    if dbf.isDateField(0) then
        dbf.getDateTime(0)
    else
        dbf.getString(0);
    // your code
end;