The former Yugoslav Republic of Macedonia
GENERAL PART
3. PUNISHMENTS
3.2. To mete out punishment
Reckoning of pre-trial confinement and earlier punishment
Article 47
(1) The time passed in pre-trial confinement, as well as every arrest in connection with a crime, is reckoned in the pronounced punishment of imprisonment, of juvenile imprisonment or of a fine.
(2) Imprisonment or a fine which the condemned has already served, respectively paid, for a petty offense or an economic offense, is reckoned in the punishment pronounced for the crime whose characteristics include the characteristics of the petty offense or of the economic offense.
(3) For each reckoning, a day of pre-trial confinement, a day of arrest, a day of juvenile imprisonment, a day of imprisonment and a one daily fine or the denar equivalent of 20 euros are all counted equal.
Reduction of national sentence following pre-trial detention - national proceedings
EDIT.