cftime should be time_t here