format uptime to day hour min