image thumbnail

timestr

version 1.5.0.2 (2.77 KB) by Michelle Hirsch
String representation of time without date in MATLAB

3.6K Downloads

Updated 04 Dec 2019

From GitHub

View license on GitHub

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 (2021). timestr (https://github.com/michellehirsch/timestr), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
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.