Paste Today's Date with Format YYYY-MM-DD

I want to Paste Today's Date with Format YYYY-MM-DD but it seems there is no easy way to do this in KM.

In TextExpander, the year, month and day are separate variables, so I can just specify it like this:
image

I've not been able to do something similar in KM. Found this thread which makes it seem unnecessarily complicated to do something so simple. Am I missing something?

Hey @Praveen,

This is simple – just not what you're used to...

Insert Time and Date Macro

See also this menu in the Keyboard Maestro 10+ Editor:

image

Note too the link in the Keyboard Maestro Editor's help menu to the ICU Date Format Reference.

There are a plethora of date/time macros on the forum:

Search results for 'insert date time' - Keyboard Maestro Discourse

-Chris

3 Likes

@ccstone Thank you, using this syntax worked:

%ICUDateTime%yyyy-MM-dd%

1 Like