Please enable JavaScript to view this site.

 

Navigation: Tokens > Day Tokens

[.d], [!d] Day Number Ordinal

Scroll Prev Up Next More

Use the [.d] and/or [!d] day token to display the short or long ordinal corresponding to the current day of the month.

 

The [.d] tokens are usually displayed alongside the [d] token, while the [!d] tokens usually appear on their own, as shown in the following examples.

 

Date of DayValue 1

[1d][1.d]

[1!d]

January 1

1st

first

February 12

12th

twelvth

March 30

30th

thirtieth

 

Note that you must make sure that translations exist in the tokens database for each of the possible values (1-31 in the present case).

 


Topic 175870, last updated on 17-Apr-2020