For whatever value this may have to others who may need this ...
I recently was requested to add texts based on certain times of the day to my current project. I had no idea how difficult this was going to be.
After much research I came across several tutorials - mostly ESP8288 / 32 based - that made calls to 'getFormattedTime()' AND 'getFormattedDate()' from a timeAPI. The 'getFormattedDate()' never worked so I looked at the NTPClient.h file and sure enough, 'getFormattedDate()' did not exist.
After researching further, I came across a github chat discussing this very topic. Long story short, at the very bottom of this webpage someone posted a link to a NTPClient library that contained the 'getFormattedDate() function.
While skeptical, I did download it and am glad I did. I have since thoroughly tested this library and it does provide the date.
Sorry for the confusion - I was merely passing on a link to an NTPClient.h library that included 'getFormattedDate()' that is not in the library of the same name that can be included in Arduino sketches via the Arduino IDE.
I have been using this 'hacked' library for several days and it works flawlessly.