wordpress: how to make custom url format for posts in this way

i want my posts urls be like this:
where iiii is a number that starts from 0001. for example first post url today will be: ~/202006070001/ the next will be ~/202006070002/ and so on. and the next day the iiii will reset to 0001 again and starts over.

i want to setup a mailroom service online for my company this way. thats the reason.

so, this is my problem, how can i do this?

Go to Source
Author: Nima Metana