Converts number of seconds to a human readable time string.
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
timestr = parseTime(numSeconds)
Returns a string describing the equivalent time in years, months, weeks, days, hours, minutes, and seconds.
Cite As
Robert (2026). parseTime (https://github.com/raaperrotta/parseTime), GitHub. Retrieved .
General Information
- Version 1.10.0.0 (118 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.
