I have a function that returns information in seconds, but I need to store that information in hours:minutes:seconds.
Is there an easy way to convert the seconds to
You can divide seconds by 60 to get the minutes
import time seconds = time.time() minutes = seconds / 60 print(minutes)
When you divide it by 60 again, you will get the hours