Put date in correct table column