static int number_of_days(time_t* pt, date_t* poldt) { time_t oldt; get_old_time(&oldt, poldt); return total_days(pt, &oldt); }
int64_t time_span::days( void ) const { return total_days(); }