let today = yearToday+'-'+monthToday+'-'+dayToday;
if (monthToday < 10) {
today = yearToday+'-0'+monthToday+'-'+dayToday;
}
if (dayToday < 10) {
today = yearToday+'-'+monthToday+'-0'+dayToday;
}
if (dayToday < 10 && monthToday<10) {
today = yearToday+'-0'+monthToday+'-0'+dayToday;
}
let today = [yearToday, monthToday, dayToday].map(s => s.padStart(2, '0')).join('-')