we need to calculate the follow-up months for patients in our study. The
code currently be used as:
FUMONTHS=((FUDATE - RXDATE) + 1)/30.5 ;
Rxdate is the randomization date.
fudate is the follow-up date.
I just wonder if there is an elegant way to do it. it seems to me the
fucntion INTCK won't work in my case. because we need to count day lapsed,
instead of counting how many first day of the month lapsed.
Btw, Does SAS has function to check if a date is the last day of the given
month. For example: 28FEB2006 is the last day of the Februray.