how to display proudact by published date?

I want to add some function in the main menu like the attached picture, when people click the date on the menu, the page will display all prouducts in same date. how to do this?
the sample picture:
https://prnt.sc/1119gt7

Thanks