if you put the '{{ date('m/d/Y',strtotime($user->date_of_birth)) }}' inside of the placeholder does that work?
Sep 23, 2019
5
Level 8
Display Date in input type date field
I am fetching date from Database and Displaying in a input type date field. My code is like below
<input min="2000-01-01" max="2019-12-31" name="date_of_birth" id="dob" type="date" class="form-control" placeholder="Date of birth" value="{{ date('m/d/Y',strtotime($user->date_of_birth)) }}"/>
But I can't see date in input field.
Please or to participate in this conversation.
