Upadted mins, secs and milliseconds calculation