Dear all,
I have a binary file which contains some time data that I want to extract.
in Scilab 5.4.1 my code does work:
fid = mopen(FILE,'rb');
// switch to position of time information
mseek( pos ,fid,'set');
Time = mget(1,'ul',fid); // time in seconds
MilliTime = mget(1,'ul',fid); // milliseconds
mclose(fid);
doing this allows me to find the correct time information and I can create
DATE and TIME as
DATE = 'yyyy-mm-dd'
TIME = hh:mm:ss.ms
Now, using the exact same code in Scilab 5.5.1 creates somehow a different
result.
Example:
Scilab 5.4.1:
DATE = 2012-06-18
TIME = 09:18:58.870
Scilab 5.5.1:
DATE = 120421-04-14
TIME = 23:10:58.7.311D+18
Next to aboves code I use: "datevec()" and "datenum()" to create the
correct date and time.
Does anything changed in these functions between Scialb 5.4.1 and 5.5.1 ?
Thank you,
BR
Philipp
--
There we have the salad.
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users