Is there any way to set the format of ? if no then how can i set date in this field using JavaScript in the default format of
@cOnstructOr provided a great idea, but it left a comma in place
var today = new Date().toLocaleString('en-GB').split(' ')[0].slice(0,-1).split('/').reverse().join('-');
fixes that