const element = document.getElementById('Date-Time');
element.addEventListener('ionChange', function (event) {
console.log(JSON.stringify(event));
console.log(JSON.stringify(event.detail));
console.log(JSON.stringify(event.detail.value));
const dateFormat = event.detail.value.split('T')[0];
alert(dateFormat);
}, false);
if one changes the month using the arrows forward < or backward > arrow or if I slide the page to change the month, how can one trigger an event with the month value and the year value displayed after the month changes?