Answers for "laravel date diff"

PHP
0

laravel date diff

$expDate = Carbon::now()->subDays(15));
Table::whereDate('exp_date', '<',$expDate);
Posted by: Guest on August-14-2021

Browse Popular Code Answers by Language