there is a code so the expiration day of a plans is based on number or a counter, not in weeks or month

Yes, I got the same idea, but you have an example of the code, how it looks like, thank you