My database table has a column whose datatype is datetime, so when queried it returns HH:MM:SS. However, using Python it returns (datetime.timedelta(0, 57360),).
This is obviously the time difference in seconds. How do I convert the returned object into a string in the format HH:MM?