DocumentationAdobe Workfront Fusion

Tokens for date and time formatting

Last update: December 20, 2024
  • Topics:
  • Workfront Fusion

Year, month, and day tokens

TokenOutputDescription
YY70 71 ... 29 302 digit year
YYYY1970 1971 ... 2029 20304 digit year
Y1970 1971 ... 9999 +10000 +10001Year with any number of digits and sign
Q1 2 3 4Quarter of year
Qo1st 2nd 3rd 4thQuarter of year with ordinal
M1 2 ... 11 12Month number
Mo1st 2nd ... 11th 12thMonth with ordinal
MM01 02 ... 11 12Month number with leading zero
MMMJan Feb ... Nov DecMonth abbreviation
MMMMJanuary February ... November DecemberMonth name
D1 2 ... 30 31Day of month
Do1st 2nd ... 30th 31stDay of month with ordinal
DD01 02 ... 30 31Day of month with leading zero
DDD1 2 ... 364 365Day of year
DDDo1st 2nd ... 364th 365thDay of year with ordinal
DDDD001 002 ... 364 365Day of year with leading zero

Week year, week, and weekday tokens

TokenOutputDescription
d0 1 ... 5 6Day of week
do0th 1st ... 5th 6thDay of week with ordinal
ddSu Mo ... Fr SaDay abbreviation
dddSun Mon ... Fri SatDay abbreviation
ddddSunday Monday ... Friday SaturdayDay name
E1 2 ... 6 7Day of week (ISO)
w1 2 ... 52 53Week of year
wo1st 2nd ... 52nd 53rdWeek of year with ordinal
ww01 02 ... 52 53Week of year with leading zero
W1 2 ... 52 53Week of year (ISO)
Wo1st 2nd ... 52nd 53rdWeek of year with ordinal (ISO)
WW01 02 ... 52 53Week of year with leading zero (ISO)
gg70 71 ... 29 30Week year
gggg1970 1971 ... 2029 2030Week year
GG70 71 ... 29 30Week year (ISO)
GGGG1970 1971 ... 2029 2030Week year (ISO)

Hour, minute, second, millisecond, and offset tokens

TokenOutputDescription
H0 1 ... 22 2324 hour time
HH00 01 ... 22 2324 hour time with leading zero
h1 2 ... 11 1212 hour time
hh01 02 ... 11 1212 hour time with leading zero
k1 2 ... 23 2424 hour time
kk01 02 ... 23 2424 hour time with leading zero
AAM PMPost or ante meridiem (upper case)
aam pmPost or ante meridiem (lower case)
m0 1 ... 58 59Minutes
mm00 01 ... 58 59Minutes with leading zero
s0 1 ... 58 59Seconds
ss00 01 ... 58 59Seconds with leading zero
S0 1 ... 8 9Fractional seconds
SS00 01 ... 98 99Fractional seconds with leading zero
SSS000 001 ... 998 999Fractional seconds with two leading zeros
SSSS ... SSSSSSSSS000[0..] 001[0..] ... 998[0..] 999[0..]Fractional seconds
Z-07:00 -06:00 ... +06:00 +07:00Time zone
ZZ-0700 -0600 ... +0600 +0700Time zone
X1360013296Unix Timestamp
x1360013296123Unix Millisecond Timestamp
recommendation-more-help
7e1891ad-4d59-4355-88ab-a2e62ed7d1a3