How to get date value from one date input field and put it to other date field using javascript?

input type=date set value javascript
how to get value of input type=date in javascript
how to set current date in input type=date in html
how to display current date in html textbox
input type=date value
how to change input type date format to yyyy-mm-dd
how to get value of input type=date in php
input type date format dd-mm-yyyy w3schools