/*
// * Setting a default value for the date box
document.getElementById("DATE").valueAsDate = new Date(); */
<input type="datetime-local" id="DATE" value="2023-05-01T11:00" name="Date"
placeholder="" class="vcheck" required minlength="8">
So if I uncomment the Javascript below I can set my value to today date but it over ride my value that I have set that hides the second. Is there any way to modify the javascript code I have so that I can still omit the seconds while having today date?