📜  从 timedelta python 代码示例中提取分钟

📅  最后修改于: 2022-03-11 14:45:20.337000             🧑  作者: Mango

代码示例1
seconds = duration.total_seconds()
hours = seconds // 3600
minutes = (seconds % 3600) // 60
seconds = seconds % 60