Convert 24/12 Hr. time string to a unique number

Version 1.0.0.0 (1016 Bytes) by Aniket
Converts a string like '14:21:3:221" to a unique integer number.
913 Downloads
Updated 7 Jan 2009

No License

The integers run from 0 to 86399999 corresponding to 00:00:00:000 to 23:59:59:999 respectively.
List of functions used:
isstrprop
strtok
str2num
strcmp

Cite As

Aniket (2024). Convert 24/12 Hr. time string to a unique number (https://www.mathworks.com/matlabcentral/fileexchange/22613-convert-24-12-hr-time-string-to-a-unique-number), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Characters and Strings in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0