[Solved] I need to get time with hours and minutes [closed]


Make sure you surround the date value with quotes and provide it in ISO format:

<input type="datetime-local" class="form-control" name="date" value="{{$date}}" readonly>

Your $date should be in the format 2022-07-31T15:35 for instance. Note the T in the middle.

5

solved I need to get time with hours and minutes [closed]