Oh in the admin, so you want to automatically create sub folders like the old school Blog used to do?
Easiest would be to create a Global event Handler that reacts Before the page is created and checks if there is already a folder structure.
As it there are quite some logic cases you have to check for isn't it easier to just let the editor handle it? By only allowing "years" and "month" folder page types under the year... forcing them to just place it in the correct folder or create it?