Depending on your workflow, there are a couple of potential solutions. Do you use a text expander tool? The simplest solution could be to configure a snippet there. I use aText, which easily lets me get that format:
If you rely on placeholders for templates… Look in the manual under Appendix > Placeholders > Date Placeholders :
[…] some formats will resolved relative to your geographic location, e.g., Jan 1, 2000
for the medium date would be common in the US.
- 01/01/2000: The short date format.
%shortDate%
- Jan 1, 2000: The medium date format.
%date%
.
- Saturday, Jan 1, 2000: The long date format.
%longDate%
These rely on global macOS date formats. Before macOS 13 Ventura they were easy to customize in System Settings through a nice GUI:
For some reason Apple removed this when they redesigned System Settings! A clear downgrade. I was pretty annoyed. Your question prompted me to dig a little.
Apparently they’re still accessible through the Terminal with the defaults
command. You could customize one of them into your preferred format and use the corresponding placeholder in your templates. But these are global, system-wide settings, so think for a second about what you’re doing – and if it clashes with how you want dates to display anywhere else. This affects the Finder, Calendar etc.
The full command is:
defaults write NSGlobalDomain AppleICUDateFormatStrings -dict-add "Key" "Format"
|
Key |
Short |
1 |
Medium |
2 |
Long |
3 |
Full |
4 |
The way to write your desired format should be yyMMdd
.
Actually, can this default be written to a more specific domain? (like com.devon-technologies.think3
?) Hopefully someone more knowledgable can answer that.
Some caution (from the Reddit link below):
Note that as of macOS 13.2, two new things have happened:
Firstly, Apple seems to have added a few more formatting options to the Language & Region page in System Settings.
But, secondly, this settings page now becomes completely inaccessible if you change the settings yourself to any combination that’s not explicitly supported. Clicking on it just does… nothing.
– I haven’t tested it myself, so I don’t know if that has changed.
Links: