JC: added datepicker for out date.