seconds to hh:mm:ss.ms format

Translate seconds to hh:mm:ss.ms struct.

You are now following this Submission

function to translate seconds to hh:mm:ss.ms struct
also creates a string formatted text with the data
Input: x - scalar value of seconds
Output: time_strct struct with the fields:
hour
minutes
seconds
miliseconds

Cite As

Tal Levinger (2026). seconds to hh:mm:ss.ms format (https://www.mathworks.com/matlabcentral/fileexchange/7596-seconds-to-hh-mm-ss-ms-format), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0