Corrected time conversion