Minting tokens on time base in ERC-20

I want to mint tokens on a time basis.

Eg: 1,000,000 tokens will be mint this year (1-Sep-2021)

1,000,000 tokens will be mint next year (1-Sep-2022)

and 1,000,000 tokens will mint on 1-Sep-2023.

How can I do that in the ERC-20 contract?

Try to write the code and show us where you get stuck. If you want to hire someone else to write it for you please use #general:developer-wanted.