Necessary changes for Date selector ; changed data types for date variables (in the model) and handled them in the controller (Datauploadcontroller) as well