Seconds to Hours, Minutes and Seconds Conversion
Version 1.0.0.0 (1.24 KB) by
Roman Müller-Hainbach
Convert seconds into descriptive string.
Converts a timespan t in seconds into a string with hours, minutes and seconds, however not days or even bigger time units. Zero values are neglected intelligently. The 's' at the end of hour(s), minute(s) and second(s) is also included dependent on the actual number of time units.
Cite As
Roman Müller-Hainbach (2024). Seconds to Hours, Minutes and Seconds Conversion (https://www.mathworks.com/matlabcentral/fileexchange/63931-seconds-to-hours-minutes-and-seconds-conversion), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2006a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Characters and Strings in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |