Skip to content

Date Format ​

Date and time display formats in skins (Date Format, All Day Date Format, Time Format and similar options) use the tokens below, e.g. YYYY-MM-DD, HH:mm.

Month ​

TokenOutput
M1 2 ... 11 12
Mo1st 2nd ... 11th 12th
MM01 02 ... 11 12
MMMJan Feb ... Nov Dec
MMMMJanuary February ... November December

Quarter ​

TokenOutput
Q1 2 3 4
Qo1st 2nd 3rd 4th

Day of Month ​

TokenOutput
D1 2 ... 30 31
Do1st 2nd ... 30th 31st
DD01 02 ... 30 31

Day of Year ​

TokenOutput
DDD1 2 ... 364 365
DDDo1st 2nd ... 364th 365th
DDDD001 002 ... 364 365

Day of Week ​

TokenOutput
d0 1 ... 5 6
do0th 1st ... 5th 6th
ddSu Mo ... Fr Sa
dddSun Mon ... Fri Sat
ddddSunday Monday ... Friday Saturday

Year ​

TokenOutput
YY70 71 ... 29 30
YYYY1970 1971 ... 2029 2030
Y1970 1971 ... 9999 +10000 +10001

::: note Y follows ISO 8601 and supports dates beyond the year 9999. :::

Week Year ​

TokenOutput
gg70 71 ... 29 30
gggg1970 1971 ... 2029 2030
GGGG1970 1971 ... 2029 2030

AM/PM ​

TokenOutput
AAM PM
aam pm

Hour ​

TokenOutput
H0 1 ... 22 23
HH00 01 ... 22 23
h1 2 ... 11 12
hh01 02 ... 11 12
k1 2 ... 23 24
kk01 02 ... 23 24

Minute ​

TokenOutput
m0 1 ... 58 59
mm00 01 ... 58 59

Second ​

TokenOutput
s0 1 ... 58 59
ss00 01 ... 58 59

Common Combinations ​

FormatResult
YYYY-MM-DD2025-08-25
MMM D, YYYYAug 25, 2025
HH:mm14:30
hh:mm A02:30 PM
dddd, MMMM Do YYYYMonday, August 25th 2025

Built with VitePress