3 - calculate session uptime