Daimler AG managed to turn a profit in the second quarter, posting earnings before interest and taxes of $2.7 billion, up from a loss of $1.3 billion the 2009 quarter.