The request is read input field for valid date and set it as default:
var defaultDate = new Date();
var defaultDate = __calendarFactory.parseDateValue(getObject(this.name).value);
defaultDate = new Date();
Or something like.