Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get current month record in laravel

User::whereMonth('created_at', date('m'))
->whereYear('created_at', date('Y'))
->get(['name','created_at']);
 
PREVIOUS NEXT
Tagged: #current #month #record #laravel
ADD COMMENT
Topic
Name
8+5 =