Thank you again, this is great. My calculations seem a bit off though. I used this line in the data step: intvwdatdiff = intck ('day', babydob, twowk_edate); along with the format intvwdatdiff 5.0; My results though show the following: intvwdatdiff = 7 for a woman with babydob of 2/24/15 and follow-up interview date of 3/6/15. When I look at a 2015 calendar that's actually a 10 day difference, not a 7 day difference. Some of the other calculations are correct though. For example: intvwdatdiff = 10 where babydob = 2/15/15 and follow-up interview date of 2/25/15. Any idea why this is happening?
... View more