createSubsetCohortWindow function

Create a relative time window for cohort subset operations