how do you calculate dso 
divide the total number of accounts receivable during a given period by the total dollar value of credit sales during the same period then multiply the result by the number of days in the period being measured 