Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to convert Period or Duration to proper string #675

Unanswered
Exenifix asked this question in Q&A
Discussion options

I want some kind of Duration with 6 minutes and 58 seconds to look like this when casted to str

"0:06:58"

Is there a builtin function for formatting Durations or I gotta do it by myself

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /