subDays(30); $deleted = BiometricAttendance::where('punch_time', '<', $date)->delete(); $this->info("Deleted {$deleted} old biometric attendance records."); } }