If a defendant is convicted of two or more offenses, regardless of when the offenses were committed or when the judgment or sentence is entered, the judgment or sentence may be that the imprisonment on any of the offenses or convictions may run concurrently or consecutively at the discretion of the court.
SDCL 22-6-6.1