© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
20 replies
CTJ

TimeSpan formatter [Answered]

Hi, is there any function or library that would take an time length input, for example
5 min
5 min
or
3 days
3 days
and convert that to TimeSpan or other time durationm object?
kinda like js library in screenshot bellow
unknown.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Code formatter
C#CC# / help
17mo ago
✅ Binary Formatter
C#CC# / help
4y ago
Parsing string to TimeSpan
C#CC# / help
4y ago