Format and update server uptime
Add function to format uptime