what was the first time that patient 5828 had an intake in a day before?
select inputevents_cv.charttime from inputevents_cv where inputevents_cv.icustay_id in ( select icustays.icustay_id from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 5828 ) ) and datetime(inputevents_cv.charttime,'start of day') = datetime(current_time,'start of day','-1 day') order by inputevents_cv.charttime asc limit 1