SOLVED: how to bulk rename image files with date and time (VikingOSX’s script using ExifTool)

I’m documenting this for myself in the future, and also in case it helps someone else needing to do the same. I will link to not only where I found the script in an Apple Community forum post, but also where I discussed my tweaking and success in the ExifTool forum as well.

First, here is where in an Apple Community forum post, user-member VikingOSX posted their script that I then modified:

Script to rename pictures with date and time

And then here is where I posted my tweaked script along with some explanations on it:

SOLVED: How to modify Mac Automator Script to rename MOV with EXIF date/time?