udf_past_renewal_date returns 1 if date specified is in the past, 0 otherwise