<label class="w3-text-teal"><b>Date Of Birth</b></label>
<input class="w3-input w3-border w3-light-grey" type="date" value="<?php echo strftime('%Y-%m-%d',strtotime($row['date_of_birth'])); ?>" name="dob" required>
Above is my code and I want to fetch database values of the date of birth in my input type date attribute.
Thanks In Advance :)