Port $uptime to new syntax