Hello Rafael,

Le 13/08/2017 à 20:15, Rafael Guerra a écrit :

Dear Scilab’ers,

Do you know of an inverse function for getdate() in Scilab, similar to Octave’s mktime()?

Example:

d = getdate(1.5026e+09)

d=

2017.8.32.225.1.13.6.53.20.0.

If we have d (or the key part of it), how to compute 1.5026e+09?


The following should work:
(datenum(2017,8,13,6,53,20+0/1000) - datenum(1970,1,1))*86400

Best regards
Samuel

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to