I pass the date in the text field using js, but the date is transmitted in the form 12/04/2018, but on 12/04/2018, tell me how to fix it, I do this:
var dsec = new Date(); var mm = dsec.getMonth() + 1; $('#inputDateSecond').val(dsec.getDate() + "." + mm + "." + dsec.getFullYear());