When renting a car, you will typically be required to show your driver's license, along with other documents such as your credit card and proof of insurance. The rental car company will check the validity and expiration date of your driver's license to ensure that it is still valid and legal to drive.
If your driver's license has expired, the rental car company will not be able to rent you a vehicle. This is because it would be illegal for you to drive a car without a valid license. To obtain a rental car, you will need to renew your expired license or obtain a temporary license from the relevant licensing authority.
It's important to make sure that your driver's license is valid and unexpired before attempting to rent a car. If you have any doubts or concerns about the validity of your license, you can contact the local licensing authority to verify its status.