initial date handling