<table class="table">
    <thead>
        <tr>
            <th>No</th>
            <th>Periodo</th>
            <th>Fecha de creación</th>
        </tr>
    </thead>
    <tbody>
        @foreach ($calenda as $ca)
            <tr>
                <td>{{ $loop->iteration }}</td>
                <td>{{ $ca->periodos->nombre }}</td>
                @php
                    $fecha = date('d-m-Y H:i:s', strtotime($ca->created_at));
                @endphp
                <td>{{ $fecha }}</td>
            </tr>
        @endforeach
    </tbody>
</table>
