Implemented Date selection.