如何存储日期和时间表格中的值

我有一个正在使用的提醒应用程序,但无法存储日期和时间,只能存储名称和描述。现在,我只需要将其放入本地存储,然后再处理后面的内容即可。

<form id="todoForm">
                <label for="ReminderInput">Reminder</label>
                <input class="u-full-width" type="text" id="ReminderInput">


                <label for="DateInput">Date</label>
                <input class="u-full-width" type="datetime-local" id="DateInput">


                <label for="InfoInput">Additional Information</label>
                <textarea class="u-full-width" type="text" placeholder="Remember to..." id="InfoInput"></textarea>
                <button type="button" id="btn" class="button-primary">Add Reminder</button>
            </form>

     let reminders = [];
 const addReminders = (ev) => {
 ev.preventDefault(); 
 let reminder = {
     ReminderInput: document.getElementById('ReminderInput').value,
     InfoInput: document.getElementById('InfoInput').value
 }
 localStorage.setItem('ReminderInput', JSON.stringify(ReminderInput));
 localStorage.setItem('InfoInput', JSON.stringify(InfoInput));
 localStorage.setItem('DateInput' JSON.stringify(DateInput));
 }
 document.addEventListener('DOMContentLoaded', () => {
 document.getElementById('btn').addEventListener('click', addReminders);
 });