You could create a Automator Service/Quick Action, where the workflow looks like this:

Once this is saved (e.g. ISO8601_Date), visit System Preferences : Keyboard : Shortcuts : Services. It will likely be found in the Services Text section under the name that you gave it. Services without an assigned keyboard shortcut will show a none in their right column. Click the word none. This will change to Add Shortcut. When you click it again, you can enter your unique shortcut. I gave mine control-D:

If you assign a shortcut already used by the operating system, your choice will be ignored. Same drill for the application that you use it in. The first time that you want to use the Service, look in your application's Service menu for it, and invoke it from there. Afterwards, the keystroke should work.
Here is the output of this Quick Action (shown in white text) in Mojave 10.14.6 as shown in the Terminal:
