laravel carbon get date time for mysql code example Example: laravel carbon today date format $today = Carbon::now()->format('Y-m-d'); //yyyy-mm-dd etc