Appearance
Dates and times
{{date}} and {{time}} paste the current date and time, in your Mac's language and format. Add a style, a pattern or a shift to get exactly what you need. All of them are free.
What gets pasted
The easiest way to build one is Insert Placeholder ▸ Other Date or Time Format… in the editor. It has presets with live examples, a field for your own pattern, and a shift, and it shows the exact text and code before inserting.
Named styles
Styles follow the region set in System Settings, so the same snippet looks right for everyone who uses it. These examples use English (US):
| Placeholder | Pastes |
|---|---|
{{date}} or {{date:medium}} | Sep 25, 2026 |
{{date:short}} | 9/25/26 |
{{date:long}} | September 25, 2026 |
{{date:full}} | Friday, September 25, 2026 |
{{time}} or {{time:short}} | 9:41 AM |
{{time:medium}} | 9:41:07 AM |
Formats
Spell out a format with Unicode date pattern letters. Letters are replaced; anything else, like -, /, , or spaces, is kept. Put words in single quotes: 'Week' w.
| Letters | Means | Example |
|---|---|---|
yyyy / yy | Year | 2026 / 26 |
MM / M | Month number | 09 / 9 |
MMM / MMMM | Month name | Sep / September |
dd / d | Day of the month | 05 / 5 |
EEE / EEEE | Weekday | Fri / Friday |
w | Week of the year | 39 |
QQQ / QQQQ | Quarter | Q3 / 3rd quarter |
D | Day of the year | 268 |
HH / H | Hour, 24-hour clock | 09 / 9 |
hh / h | Hour, 12-hour clock | 09 / 9 |
a | AM or PM | AM |
mm | Minutes | 41 |
ss | Seconds | 07 |
Some combinations people use:
| Placeholder | Pastes |
|---|---|
{{date:yyyy-MM-dd}} | 2026-09-25 |
{{date:dd.MM.yyyy}} | 25.09.2026 |
{{date:EEEE, d MMMM}} | Friday, 25 September |
{{date:'Week' w, yyyy}} | Week 39, 2026 |
{{time:HH:mm}} | 09:41 |
{{date:yyyyMMdd-HHmm}} | 20260925-0941 |
Coming from the Chrome extension?
The extension's YYYY and DD work too. HandyPaste reads them as yyyy and dd, so imported snippets paste the same dates.
Shifting the date
Add + or -, a number and a unit right after date or time:
| Unit | Means |
|---|---|
h | hours |
d | days |
w | weeks |
m | months |
y | years |
| Placeholder | Pastes (on Friday 25 September 2026) |
|---|---|
{{date+1d}} | Sep 26, 2026 (tomorrow) |
{{date-1d:EEEE}} | Thursday (yesterday) |
{{date+2w:d MMMM}} | 9 October |
{{date+1m:yyyy-MM-dd}} | 2026-10-25 |
{{time+2h:HH:mm}} | 11:41 |
Months and years use calendar arithmetic, so one month after 31 January is the last day of February, not 3 March.
Examples
An invoice reminder
text
Hi {{input:Name}},
A friendly reminder that invoice
{{input:Invoice number}} is due on
{{date+7d:EEEE d MMMM}}.Pastes
text
Hi Sam,
A friendly reminder that invoice
INV-2031 is due on
Friday 2 October.A log entry
text
[{{date:yyyy-MM-dd}} {{time:HH:mm}}] {{cursor}}Pastes
text
[2026-09-25 09:41] |A file name
text
report-{{date:yyyy-MM-dd}}.pdfPastes
text
report-2026-09-25.pdf