RouterOS get uptime days

My function timetoseconds is correct…
http://forum.mikrotik.com/t/convert-uptime-to-date-and-time/157724/5

but if already is v7.12.1 (and up) just simply…

:put "Uptime: $([:tonum [/system resource get uptime]] / 86400) days"