Start_time format in .mat file

Joe De Visto

Posted on 05.09.2017 16:40

In the .mat files exported by Dewesoft there is a field called Start_time.

How would I convert this value into a normal readable date time value (eg: sec/min/hour/date).

Attached files:
DEWESoft Support
Technical support
Posted on 06.09.2017 08:28


that value represents the absolute time offset from the 30th of December, 1899. The way MATALB stores the absolute time is a bit different from the way it's done in Delphi, so we should first convert this channel to a number that means something to MATLAB. I've attached an image which shows you how to do that.

If you want to get each time stamp in the absolute format, you can convert it into the number of days, which is done by diving with a a factor of (24*60^2) and then add each point to the absolute time offset.

I think that you should be able to get the correct time using the syntax in the attached image. Let me know if you need anything else.

Attached files:
Login to reply to this topic. If you don't have account yet, you can signup for free account .
This website uses cookies to ensure you get the best experience on our website. Learn more