function changeTimerValue() {
let timer = setInterval(() => {
let countdown = new Date(timePicker.value) - new Date();
startTimerBtn.disabled = true;
timePicker.disabled = true;
console.log(countdown)
if (countdown >= 0) {
let timerData = convertMs(countdown);
timerValue.days.textContent = timerData.days;
timerValue.hours.textContent = timerData.hours;
timerValue.minutes.textContent = timerData.minutes;
timerValue.seconds.textContent = timerData.seconds;
} else {
clearInterval(timer);
}
}, 1000);
}