Well, I have a data grid with a date, but I have to use a JQuery mask :
$(document).ready(function(){
$('.date').mask('00.00.0000');
});
But when I make an INSERT, for example, the date 19.11.2016 becomes 21.11.2019. This same case happens with UPDATE.
In the UPDATE case I tried to implement:
DATA = STR_TO_DATE( '$name_01', '%m/%d/%Y' )
Since I tried '%Y.%m.%d'
, '%Y/%m/%d'
, '%Y-%m-%d'
, among others ...
In the database is as date as the field. Does anyone have any ideas?