turn start and end into date inputs