timestr

String representation of time without date in MATLAB

https://github.com/michellehirsch/timestr

You are now following this Submission

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

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
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

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.