diff -r -N -u libdbi-0.6.7/src/dbi_result.c libdbi-0.6.7-sella/src/dbi_result.c
--- libdbi-0.6.7/src/dbi_result.c       2002-11-05 18:35:34.000000000 -0600
+++ libdbi-0.6.7-sella/src/dbi_result.c 2003-01-30 20:48:13.000000000 -0600
@@ -1173,7 +1173,6 @@
                _error_handler(result->conn, DBI_ERROR_BADTYPE);
                return ERROR;
        }
-       if (result->rows[result->currowidx]->field_sizes[idx] == 0) return 0;

        return (time_t)(result->rows[result->currowidx]->field_values[idx].d_datetime);
 }
