f.startDate function

Calculate start date of a study