@csrf @foreach($res as $value) {{ date('d-M-Y',strtotime($value)) }} @if($loopcount != 1)
if you want to enter old value please click here. @endif @endforeach