def get_times(now, then): """Calculate the remaining time.""" total = then - now days = total.days weeks = total.days // 7 bus_days = np.busday_count(now, then) return weeks, days, bus_days, total