Added get function for totaltime in timehandler. Refactored totaltime function in times from : to .