Static QR codes have no expiration date and can be used indefinitely. Dynamic QR codes also last indefinitely, but the information they point to can be changed or the QR code can be deactivated if you stop using the service that generated it.