Trying to keep track of not just what happens but when — maybe even down to the second? Tired of checking the clock or calendar just to add a date and time to a note or document? Find out here how to quickly insert the current date and timestamp anywhere on your Mac ⤓ — with a keyboard shortcut and using exactly the format you choose.
On This Page
How to Insert the Current Date and Timestamp Fast Anywhere on a Mac
Time needed: 1 minute
To insert the current date and time as a timestamp anywhere on your Mac using Shortcuts:
- Set up a Shortcuts quick action for inserting (or copying) the current date and time; see below.
- Position the text cursor where you want to insert the timestamp.
- Select Services | Get Current Timestamp from the app’s main menu.
The name: Substitute Get Current Timestamp with your quick action’s name, of course, if you chose a different one.
Keyboard shortcut: if you set up a keyboard shortcut for the quick action, you can also press that key combination to insert the current timestamp.
Here’s what happens: macOS inserts the current date and time using the format you specified as plain text.
Your Mac’s stamping time for you?
Tips help fuel these email and tech how-tos.
Create a “Get Current Timestamp” Quick Action in Shortcuts
To set up a quick action in macOS Shortcuts for inserting the current date and time as a timestamp:
- Open Shortcuts.
Here’s how: You can use Spotlight Apps to find and launch Shortcuts fast. - Go to the Quick Actions category in the Library.
- Click +.
Keyboard shortcut: You can also press Command N to add a new shortcut. - Optional: Select Dates and 18 more (or your default choice) following Receive at the top of the quick action.
- Select Continue for If there’s no input:.
- Drag and drop Date into the action.
- Select Current Date for the date object.
- Drag and drop Format date below Current Date so it receives the current date and time as its input.
- Expand the Format field.
Here’s how: Click the right-pointed caret. - Choose the desired format under Date Format::
Custom: Choose Custom to concoct your own format for the timestamp.
Example: Select RFC 2822 to use the date and time format used in SMTP email headers (as specified in RFC 2822) for an easily readable and not easily misinterpreted format. - Open the shortcuts’s details.
Here’s how: You can click I in the sidebar or select View | Show Shortcut Details from the menu, for example. - Enable Provide Output.
Optional: Select Copy to Clipboard for If there’s nowhere to output to copy the timestamp for later pasting if you are not in a text field when you run the action. - Check Services Menu is enabled for the quick action in the details sidebar.
- Optional: Click Add Keyboard Shortcut to make inserting a timestamp even easier.
- Click in the title to change the name for the quick action.
Here’s why: This is how the action will appear in menus.
Example: You can use “Get Current Timestamp”, for instance.
How to Insert the Current Date and Timestamp Fast Anywhere on a Mac: FAQ
What fields and variables can I use for custom date and time formats?
You can use the fields used in Unicode date/time patterns, e.g. most prominently:
yyearMmonthddayEday of the weekhhour (AM/PM)Hhour (24 hours)mminutessecondaAM/PMztime zoneZtime zone offset
For many fields, you can repeat the character for more detail:
| Pattern | Meaning | Example |
|---|---|---|
M | Numeric without leading zero | 3 |
MM | Numeric with leading zero | 03 |
MMM | Abbreviation | Mar. |
MMMM | Full form | March |
MMMMM | Condensed to one character if possible | M |
How can I include verbatim text in the date and time output?
To insert strings in the formatted timestamp, use single quotation marks with a custom date format; see below for an example.
Can I use a specific language for the timestamp?
Yes.
Choose the desired language and region under Locale: for specific full forms of date and time output.
Example: EEEE, d. MMMM yyyy H 'Uhr' mm (zzzz) will produce something like Dienstag, 17. März 2025 11 Uhr 03 (Mitteleuropäische Normalzeit) with a German locale.
(Tested with macOS Tahoe 26.3; first published March 2026)


