Ideally you wouldn't want to have logic within your view however that is a task for another day :)
Firstly Taylor has made timestamps so easy to use, in fact both created_at and updated_at are Carbon instances so $entry->created_at->day is already a valid call!
Here is how I would update this view:
{!! $currentDay = 0 !!}
@foreach($entries as $entry)
{!! $entry->created_at->day !== $currentDay ? "<hr> new day! {$currentDay} <br>" : '' !!}
<li>{{ $entry->body }}</li>
@endforeach
I haven't tested this but should produce the same results though