Javasriptでtoday取得
const today = new Date();
const yyyy = today.getFullYear();
let mm = today.getMonth() + 1;
let dd = today.getDate();
const yyyymmdd = yyyy + "," + mm + "," + dd;
console.log('yyyymmdd:'+yyyymmdd);
var startDate = new Date(yyyymmdd);
console.log('startDate:'+startDate);