String representation of time without date in MATLAB
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Convert serial date numbers into time strings. Time strings are of HH:MM:SS.SSS format - like date strings, but without the date.
Ex:
timestr(now)
09:15:36.4000
Note: A time datetime object was introduced in MATLAB R2014b which is way better than this little utility. If you've got access to it, use it instead!
Cite As
Michelle Hirsch (2026). timestr (https://github.com/michellehirsch/timestr), GitHub. Retrieved .
General Information
- Version 1.5.0.2 (2.77 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
Versions that use the GitHub default branch cannot be downloaded
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.
