Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

extract minutes from timedelta python

seconds = duration.total_seconds()
hours = seconds // 3600
minutes = (seconds % 3600) // 60
seconds = seconds % 60
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #extract #minutes #timedelta #python
ADD COMMENT
Topic
Name
3+7 =