r_time = 1000 str(timedelta(seconds=r_time))[-5:] '16:40'
https://www.5axxw.com/questions/content/fp9gpm