@csrf @foreach($res as $value)

{{ date('d-M-Y',strtotime($value)) }}

@if($loopcount != 1) @endif
@endforeach