I have two variables in a record: StartDate and an EndDate, but may also
have some intermediate dates (e.g. IntermediateDate1, IntermediateDate2,
etc). I want to take the difference between the two dates (StartDate and
EndDate) and create a dataset with individual records identified by month.
Can someone supply the SAS code to create an output dataset with the nine
individually monthly records that are structured as follows: I want all
four dates from above on each record too.