when was patient 2482 until 3 years ago admitted for the last time to the hospital?
select admissions.admittime from admissions where admissions.subject_id = 2482 and datetime(admissions.admittime) <= datetime(current_time,'-3 year') order by admissions.admittime desc limit 1