how many days has it been since the last time patient 23436 stayed in ward 12 in this hospital visit.
select 1 * ( strftime('%j',current_time) - strftime('%j',transfers.intime) ) from transfers where transfers.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 23436 and admissions.dischtime is null ) ) and transfers.wardid = 12 order by transfers.intime desc limit 1