📜  carbon parse sunday 30 天前 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:13.788000             🧑  作者: Mango

代码示例2
$users = Users::where('status_id', 'active')
           ->where( 'created_at', '>', Carbon::now()->subDays(30))
           ->get();