Skip to main content

Custom Date and Time Display Formats


I. Custom Date/Time Formats in Autonumber Fields

Learn more

FormatOutput
dDay of the month (1–31)
ddDay of the month (01–31)
dddAbbreviated name of the day of the week
ddddFull name of the day of the week
hHour (12-hour clock, 1–12)
hhHour (12-hour clock, 01–12)
HHour (24-hour clock, 0–23)
HHHour (24-hour clock, 00–23)
mMinute (0–59)
mmMinute (00–59)
MMonth (1–12)
MMMonth (01–12)
MMMAbbreviated month name
MMMMFull month name
sSecond (0–59)
ssSecond (00–59)
ttAM/PM designator
yYear (0–99)
yyYear (00–99)
yyyYear (minimum three digits)
yyyyYear (four digits)
yyyyyYear (five digits)

By combining the above formats with separators (such as -, /, etc.), you can generate the desired date/time format.

II. Custom Date/Time Formats in Date Fields

FormatOutput
YearYY70 71 ... 29 30 (last two digits of year)
YYYY1970 1971 ... 2029 2030
MonthM1 2 ... 11 12
MM01 02 ... 11 12
MMMJan Feb ... Nov Dec
MMMMJanuary February ... November December
DayD1 2 ... 30 31
DD01 02 ... 30 31
Day of YearDDD1 2 ... 364 365
DDDD001 002 ... 364 365
Weekdayd0 1 ... 5 6
ddSu Mo Tu ... Fr Sa
dddSun Mon Tue ... Fri Sat
ddddSunday Monday ... Friday Saturday
E1 2 ... 6 7
Week of Yearw1 2 ... 52 53
ww01 02 ... 52 53
QuarterQ1 2 3 4
AM/PMAAM PM

By combining these formats with separators (such as -, /, etc.), you can customize the output format as needed.

Display in a Specific Language

The formats MMM / MMMM / ddd / dddd can adapt to the user's system language.

To force a specific language (e.g., English), append #EN# to the format.

Example (Date: 2024-06-20, Format: YY-MMM-DD)

  • Chinese: 24-6月-20
  • Japanese: 24-6月-20
  • English: 24-Jun-20

To always display in English regardless of system language:

YY-MMM-DD#EN# → 24-Jun-20

Was this document helpful?