How can I parse regional date and time strings returned by Windows XP in MATLAB 7.6 (R2008a)?
Show older comments
I am using a COM server which returns a date string to MATLAB using the regional settings of the Windows operating system. I would like to parse this string using the function DATEVEC without knowing the system's date and string format beforehand. For example, on certain computers, I might receive the following date and time string:
date = '5.6.2008';
time = '5*43*12 PM';
Accepted Answer
More Answers (0)
Categories
Find more on Time Series Objects in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!