Custom date formats

When you choose “Custom Format” in the Date Picker, you can build your own date style using format tokens. Each token represents part of a date (like year, month, or day). Combine tokens with punctuation or text to create the exact format you want.

For example:

  • MM/DD/YYYY → 12/02/2026
  • MMMM D, YYYY → December 2, 2026

You can include any text in your date format by wrapping it in [square brackets]. This tells TextExpander to treat it as literal text rather than formatting code. For example, [Q]Q YYYY will output as “Q1 2026.”

Available custom format tokens

Use the tokens below in any order, along with any separators (such as -, /, spaces, or commas).

FormatOutputDescription
YY25Two-digit year
YYYY2025Four-digit year
M1–12Month number, beginning at 1
MM01–12Month number, 2 digits
MMMJan–DecAbbreviated month name
MMMMJanuary–DecemberFull month name
D1–31Day of the month
DD01–31Day of the month, 2 digits
d0–6Day of the week (Sunday = 0)
ddSu–SaMin day-of-week name
dddSun–SatShort day-of-week name
ddddSunday–SaturdayFull day-of-week name
W1 2 … 52 53ISO Week of year
WW01 02 … 52 53ISO Week of year, 2-digits
GGGG2026ISO Week Year

Localized formats

Localized formats (L, LL, l, ll) are preset patterns that automatically adapt to your app locale preference or device locale. They’re a quick way to get common date styles for any language/region without manually combining tokens. For example:

FormatEnglish GermanJapanese
LMM/DD/YYYY
12/16/2025
DD.MM.YYYY
16.12.2025
YYYY/MM/DD
2025/12/16
LLMMMM D, YYYY
December 16, 2025
D. MMMM YYYY
16.Dezember 2025
YYYY年M月D日
2025年12月16日
lM/D/YYYY
12/16/2025
D.M.YYYY
16.12.2025
YYYY/M/D
2025/12/16
llMMM D, YYYY
Dec 16, 2025
D. MMM YYYY
16.Dez 2025
YYYY年M月D日
2025年12月16日

Advanced formats

Advanced formations provide additional format options beyond the standard ones, including quarter, ordinal days, and weeks of year. Advanced format tokens include:

FormatOutputDescription
Q1-4Quarter
Do1st 2nd … 31stDay of Month with ordinal
w1 2 … 52 53Week of year 
ww01 02 … 52 53Week of year, 2-digits
wo1st 2nd … 52nd 53rdWeek of year with ordinal

Time tokens

Time tokens are also supported and default to midnight (0:00) when expanded. You can manually adjust the time after expansion as needed. Available time tokens include:

FormatOutputDescription
k1-24The hour, beginning at 1
kk01-24The hour, 2-digits, beginning at 1
X1360013296Unix Timestamp in second
x1360013296123Unix Timestamp in millisecond

Localized formats also support time tokens, which default to midnight (0:00). You can manually adjust the time after expansion as needed. Localized time formats adapt to your language settings and include both date and time information. Localized time formats include:

FormatEnglishGermanJapanese
LTh:mm A
8:02 PM
HH:mm
20:02
HH:mm
20:02
LTSh:mm:ss A
08:02:18 PM
HH:mm:ss
20:02:18
HH:mm:ss
20:02:18
LLLMMMM D, YYYY h:mm A
August 17, 2026 8:02 PM
D. MMMM YYYY HH:mm
17. August 2026 20:02
YYYY年M月D日 HH:mm
2026年8月17日 20:02
LLLLdddd, MMMM D, YYYY h:mm A
Monday, August 17, 2026 8:02 PM
dddd, D. MMMM YYYY HH:mm
Montag, 17. August 2026 20:02
YYYY年M月D日 dddd HH:mm
2026年8月17日 月曜日 20:02
lllMMM D, h:mm A
Aug 17, 2026 8:02 PM
D. MMM YYYY HH:mm
17. Aug. 2026 20:02
YYYY年M月D日 HH:mm
2026年8月17日 20:02
llllddd, MMM D, YYYY h:mm A
Mon, Aug 17, 2026 8:02 PM
ddd, D. MMM YYYY HH:mm
Mo, 17. Aug. 2026 20:02
YYYY年M月D日(ddd) HH:mm
2026年8月17日(月) 20:02