Registered Students

@foreach ($students as $student)

{{ $student->name }} - {{ $student->id }}

@php $join_date = date_parse($student->created_at); $year = $join_date["year"]; $month = $join_date["month"]; $day = $join_date["day"]; @endphp

Joined: {{ $year."-".$month."-".$day }}

@endforeach