Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

carbon subdays

//Laravel example

$users = Users::where('status_id', 'active')
           ->where( 'created_at', '>', Carbon::now()->subDays(30))
           ->get();
 
PREVIOUS NEXT
Tagged: #carbon #subdays
ADD COMMENT
Topic
Name
1+4 =