Shortcut to change date and time format to YYYYMMDD-HHMMSS

Hello, I have a MacBook Pro running the latest OS Tahoe 26.0. I did a search and found this on the Apple website Custom date formats in Shortcuts on Mac - Apple Support

It says there is a shortcut to change the format of date and time. I clicked on the "this shortcut" at the bottom, but I don't know what it says. I am a newbie when it comes to shortcuts and scripts. It someone can share a shortcut that would change the date and time format to YYYYMMDD-HHMMSS I would deeply appreciate it.

Thank you all for your attention!

MacBook Pro 16″, macOS 26.0

Posted on Sep 26, 2025 8:52 AM

Reply
4 replies

Sep 26, 2025 10:14 AM in response to deege

The receive part is automatically added when you set it as a Quick Action. It is in the Info tab. That is only necessary to put it in the Contextual Menu so you can Secondary click and select it from the Quick Actions in the contextual menu.

Just search for the names. If you type in Date, you will see all of the Actions related to dates.

Get Date is what I named my shortcut. Just creat a new Shortcut.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Shortcut to change date and time format to YYYYMMDD-HHMMSS

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.