@foreach(\App\Ad::where('status',1)->where('id','!=',$ad->id)->get() as $my_ad)
@if(\Illuminate\Support\Carbon::createFromFormat('Y-m-d', $my_ad->created_at->format('Y-m-d'))->addMonth()->format('Y-m-d') >= \Illuminate\Support\Carbon::now()->format('Y-m-d'))
@endif
@endforeach