put last date in and date out in session