Laravel Carbon Subtract Days to Date Example

November 29, 2024 | 42 views
use Carbon\Carbon;
$end_date = date('Y-m-d 23:59:59');
$yesterday = Carbon::parse($end_date)->subDay();

Related News Feed


Notice: Undefined variable: featured_img_url in /home/zihina/public_html/wp-content/themes/zihina/functions.php on line 761