How to filt data by time using Laravel?
问题 I have this query, I would like to obtain only the data created on the current month public function index(Request $request) { if($request->ajax()) { $data = DB::table('tbl_lista_contactabilidad as a') ->select('a.id','a.rif','a.razon_social','a.postventaatcs_id','fecha_contacto','a.contactado','a.persona_contacto','a.correo_contacto','a.celular_contacto','a.numero_contacto','a.comentarios','a.auditado') ->leftjoin('tbl_equipo_postventaatcs as h','h.id','=','a.postventaatc_id') ->leftjoin(