Add dates to input