laravel carbon first day of month

46

laravel carbon first day of month -

$startDate = Carbon::now(); //returns current day
$firstDay = $startDate->firstOfMonth();  

Comments

Submit
0 Comments