timestr
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 (2024). timestr (https://github.com/michellehirsch/timestr), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
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.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.5.0.2 | Connected to GitHub |
|
|
1.5.0.1 | Updated license |
|
|
1.5.0.0 | Updated to work with R2014b. Make available as a Toolbox file. |
||
1.2.0.0 | Removed mistaken attribution. |
||
1.1.0.0 | Updated copyright. |
||
1.0.0.0 |