calc_DY function

Calculate a DY variable (day of study)