📅  最后修改于: 2022-03-11 14:45:04.409000             🧑  作者: Mango
import datetime
def minutes(date_time_older, date_time_newer):
date_time_difference = round((date_time_newer-date_time_older).total_seconds()/60)
return date_time_difference