Section 1375.5 Of Chapter 6. Inquiry Into The Competence Of The Defendant Before Trial Or After Conviction From California Penal Code >> Title 10. >> Part 2. >> Chapter 6.
1375.5
. (a) Time spent by a defendant in a hospital or other
facility as a result of a commitment therein as a mentally
incompetent pursuant to this chapter shall be credited on the term of
imprisonment, if any, for which the defendant is sentenced in the
criminal case which was suspended pursuant to Section 1370, 1370.1,
or 1370.01.
(b) As used in this section, "time spent in a hospital or other
facility" includes days a defendant is treated as an outpatient
pursuant to Title 15 (commencing with Section 1600) of Part 2.