📅  最后修改于: 2022-03-11 14:45:16.580000             🧑  作者: Mango
from datetime import timedelta
def get_days_between(datePast, dateFuture):
difference = dateFuture - datePast
return difference.total_seconds() / timedelta(days=1).total_seconds()