Try to search your question here, if you can't find : Ask Any Question Now ?

Timedelta in hours,minutes,seconds,microseconds format

HomeCategory: stackoverflowTimedelta in hours,minutes,seconds,microseconds format
Avatarkundan asked 4 months ago

I am trying to make the timedelta to display time in H:M:S:MS format , i am able to display in H:M:S format using datetime.timedelta function like below

 print((datetime.timedelta(minutes=500)))

output: 8:20:00

How can i get the output as 8:20:00:00 in H:M:S:MS

1 Answers
Best Answer
AvatarMikhail answered 4 months ago
Your Answer

14 + 20 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com