Convert seconds to human readable string(s)
Convert an amount of seconds to hours/days/weeks/etc.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Editor's Note: This file was selected as MATLAB Central Pick of the Week
Cite As
Rody Oldenhuis (2026). Convert seconds to human readable string(s) (https://github.com/rodyo/FEX-seconds2human/releases/tag/v1.6), GitHub. Retrieved .
General Information
- Version 1.6.0 (3.53 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.6.0 | See release notes for this release on GitHub: https://github.com/rodyo/FEX-seconds2human/releases/tag/v1.6 |
||
| 1.4.0 | - Added 'decennium' as a time unit
|
||
| 1.3.0 | Updated contact info |
||
| 1.2.0 | - reduced the default verbosity, as suggested by Jos. The verbosity can now be changed with a second argument. - Included (sec < 1) case, as suggested by Jesse. |
||
| 1.1.0 | updated code thanks to Jos' comments. |
||
| 1.0.0 |