I have this input <input type="datetime-local" id="myTime" />
in my HTML code. I am using javascript to take the value of this input var myTime = document.getElementById("myTime").value;
but I need to add one hour to the value and save it in another variable. The format of the datetime is "yyyy-mm-dd HH:MM:SS".
I know it seems very easy but I have tried many ways and I just can't get it right. I would appreciate a little help with this one.
Thanks!