Criminal Law Questions? Ask a Criminal Lawyer.
Since each jail time was for a separate incident, the time for one does not count for the other....
So his drug court violation is one period, and his DUI is a separate period.
The only exception would be if the judge explicitly allowed for double credit by running them "concurrent". This is usually not done for two crimes arising out of different facts at different times.