in HTML, working with input date, I need to display today's date in input date
<tr>
<td>Date</td>
<td><input id='input-date' type='date' value=getDate() onchange=''></td>
</tr>
<tr>
in HTML, working with input date, I need to display today's date in input date
<tr>
<td>Date</td>
<td><input id='input-date' type='date' value=getDate() onchange=''></td>
</tr>
<tr>
this code work very well and simply try this code
<input type="date" value="<?php echo date("Y-m-d"); ?>" name="current_date">