How to Get and Set a Date from DOM Input using JavaScript

How to Get and Set a Date from DOM Input using JavaScript