datepicker value in date field

how do I register datepicker value in date field? The error is that: The provided value is invalid.

Make sure you match the same values requested by the database. DATETIME and DATE are not the same.