Date from file & move to folder with name part matching

Within folder "Photos", I have multiple pictures with different created dates. Let's assume that the date format is "2019-05-15" and file name is "IMG01.jpg" for example.
I have existing subfolders named with this format "2019-05-15_European_Vacation".
How would I go about moving each photo according to their created date, to the corresponding subfolders?
I have existing subfolders named with this format "2019-05-15_European_Vacation".
How would I go about moving each photo according to their created date, to the corresponding subfolders?