How to get the most recent modified date of anything in the footer of my site?


I would like to be able to post the most recent updated date in my footer. However, I can’t seem to find a way to do that globally for the site, just for each post/page at a time using get_the_modified_date().

So for example if I make a change to my home page the footer would be updated to that date and time. If I later make an edit to a miscellaneous page, then the "Updated" date and time would change to reflect that more recent update.

Any help is greatly appreciated.