Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel carbon first day of month

$startDate = Carbon::now(); //returns current day
$firstDay = $startDate->firstOfMonth();  
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #carbon #day #month
ADD COMMENT
Topic
Name
7+4 =