default value date input html 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);