Seconds to Hours, Minutes and Seconds Conversion

Convert seconds into descriptive string.
183.0 次下载
更新时间 2017/7/31

查看许可证

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.

引用格式

Roman Müller-Hainbach (2025). 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. 检索时间: .

MATLAB 版本兼容性
创建方式 R2006a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Characters and Strings 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0