[Solved] Change timedelta format to show minutes and seconds only [closed]


Found another solution

r_time = (end_time - start_time)

seconds = abs(int(r_time))

minutes, seconds = divmod(seconds, 60)
times="%i.%i" % (minutes, seconds)

That’s gave me exactly the format what i was looking for
00.00

2

solved Change timedelta format to show minutes and seconds only [closed]