BOOL isDateField(cdbfapiPlus* handle, int fieldno);

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


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