Hello, thanks for your help..
I'm a bit confusing now, i tried your purpose but it doesn't work with me. I guess it's my fault. I tried to create an array just like Serge said... the time is in the 1st column in milliseconds and normally the time have to be converted and stocked in the matrix T right? But i don't understand the "conso(:,1:2)" argument... Also when I try it the matrix T is full of zeros but no time... Could you explain tell me what's wrong? <http://mailinglists.scilab.org/file/n4025439/Conso.jpg> that's what i wrote : conso=fscanfMat("C:\Projet Helios\Grapheur 2013\consommation2.txt") [A, M, J, h, mn, s] = datevec(conso(:,1)/1000/24/3600); out = msprintf("%02d:%02d:%04.1f\n",h, mn ,s) T=tlist(["foo","data","time"],conso(:,1:2),out) -- View this message in context: http://mailinglists.scilab.org/Scilab-date-and-hour-functions-tp4025363p4025439.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. _______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users