added date picker, working but date format not right yet