Function DisplayDaySuffix
Outputs a suffix for a specific date
DisplayDaySuffix([DATE],[INCLUDE_DAY])
Parameters
# | Type | Passing | Default | Name | Description/Comments |
---|---|---|---|---|---|
1 | datetime | required | n/a | DATE | The date to use |
2 | boolean | optional | true | INCLUDE_DAY | Whether to include the day number or just output the suffix |
Returns
The suffix for the date
Examples
Example of displaying "2nd" for a date
{{DisplayDaySuffix(Date("02/01/2020"))}}