[scilab-Users] Datevec Problem in scilab

sgougeon at free.fr sgougeon at free.fr
Mon Mar 19 11:59:05 CET 2012


Hello Gourish,

>"*datevec(datenum(2010,4,6,1,0,0))*"
>which gives the result as "*ans = 2010. 4. 6. 0. 59. 59.999997*" instead of
>"*ans = 2010. 4. 6. 1. 0. 0.*"
>
>is there any solution for the problem?

floor(datevec(nearfloat("succ",datenum(2010,4,6,1,0,0))))


Samuel



More information about the users mailing list