Corrected the function msecToQTime