html input date default value code example
Example: html input date set default value today
var today = moment().format('YYYY-MM-DD');
$('#datePicker').val(today);
var today = moment().format('YYYY-MM-DD');
$('#datePicker').val(today);