The Tech Capital

Upcoming Events

The Tech Capital events and partner conferences keep you connected and informed in an uncertain and constantly changing world.

@foreach($events as $event)

{{ $event->name }}

{{ $event->name }}

@if($event->starts_at) @php $start = $event->starts_at->setTimezone('Europe/London'); $precision = $event->date_precision ?? 'full'; @endphp

@if($precision === 'year') {{-- Scenario: Event in 2028 (Value: 2028-01-01) -> Displays: 2028 --}} {{ $start->format('Y') }} @elseif($precision === 'month') {{-- Scenario: Event in June 2025 (Value: 2025-06-01) -> Displays: June 2025 --}} {{ $start->format('F Y') }} @else {{-- Scenario: Full Date precision --}} @if($event->ends_at) @php $end = $event->ends_at->setTimezone('Europe/London'); @endphp @if ($start->isSameDay($end)) {{ $start->format('d F Y') }} @elseif ($start->month === $end->month && $start->year === $end->year) {{ $start->format('d') }} – {{ $end->format('d F Y') }} @elseif ($start->year !== $end->year) {{ $start->format('d F Y') }} – {{ $end->format('d F Y') }} @else {{ $start->format('d F') }} – {{ $end->format('d F Y') }} @endif @else {{ $start->format('d F Y') }} @endif @endif

@endif

{{ $event->location }}

Visit Event Page

@endforeach