https://www.youtube.com/watch?v=l1IhArdD6Y0
Calculating credit for “Pre-Trial Confinement” can be a complicated process. When the accused has either been unable to secure his or her release due to financial hardships or in a matter where “NO BOND” has been set by court officials, “crediting” that time against an imposed judgment becomes an important consideration. § 15A-533. Right to pretrial release in capital and noncapital cases states,
(b) A defendant charged with a noncapital offense must have conditions of pretrial release determined, in accordance with G.S. 15A-534.