I don't know what you mean by standardized date. If your dates are SAS dates, this would work:
data want;
set have;
back_pn_6_mo_event =
back_pn and
intck("MONTH", claim_date, trigger_date, "CONTINUOUS") <= 6 ;
run;
If your dates are not SAS dates, then make them so.
... View more