Here is my loop. Prints multiple records along with date/time column
@foreach($tableData as $i)
<tr>
<th scope="row">{{$i->name}}</th>
<td>{{$i->duration}}</td>
<td>{{$i->friendsAmount}}</td>
<td>{{$i->time)}}</td>
</tr>
@endforeach
This prints under the time column
2020-11-14 19:42:00
I only want it to display the time
19:42:00
My Answer:
Rate this post
4 of 5 based on 7713 votesComments