Incorrect time calculation

 Chnaged time calcuation for accurate minute, second display.