Open this example in the interactive library
Source code
from datetime import timedelta
print(timedelta(days=1, minutes=30).total_seconds() / 60)Sample output
1470.0

Open this example in the interactive library
from datetime import timedelta
print(timedelta(days=1, minutes=30).total_seconds() / 60)1470.0