The computation of the time served by prisoners under sentences imposed by the courts of this State must be calculated from the date of the imposition of the sentence. However, when (a) a prisoner shall have given notice of intention to appeal, (b) the commencement of the service of the sentence follows the revocation of probation, or (c) the court shall have designated a specific time for the commencement of the service of the sentence, the computation of the time served must be calculated from the date of the commencement of the service of the sentence. In every case in computing the time served by a prisoner, full credit against the sentence must be given for time served prior to trial and sentencing, and may be given for any time spent under monitored house arrest. Provided, however, that credit for time served prior to trial and sentencing shall not be given:
S.C. Code § 24-13-40