bool isDateField(int fieldno);

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


{
    // your code
    if (dbf.isDateField(0))
        dbf.getDateTime(0);
    else
        dbf.getString(0);
    // your code
}