Export Apple Photos on Mac to folders by YY-MM

I am trying to move / back up my Apple Photos on Mac to NAS but wants to do this by a folder structure with YY-MM, etc.

I checked similar postings on this forum such as this but do not see much answer in return

Just wondering where it is possible by Hazel or Apple Script (which I am not familiar with)