Sec. 1. Except as provided in Sections 2 and 3, a defendant shall be delivered to a jail or to the Texas Department of Criminal Justice when his sentence is pronounced, or his sentence to death is announced, by the court. The defendant's sentence begins to run on the day it is pronounced, but with all credits, if any, allowed by Article 42.03.