$uptime(system,1) returns time without seconds, but in this case the seconds doesn\'t really matter so $uptime(system,1) should be sufficient.