-
Notifications
You must be signed in to change notification settings - Fork 5
User Guides
Joelacus edited this page Nov 5, 2025
·
1 revision
Customise how the time and date are displayed on posts and/or comments.
Relevant tweaks: "Show Absolute Timestamp on Posts" and "Show Absolute Timestamp on Comments".
Examples:
| Expression | Output |
|---|---|
| dd MMM yyyy | hh:mm | 05 Nov 2025 | 21:41 |
| MMMM d yy hh:mm ap | November 5 25 09:41 pm |
| yyyy.dd.MM. hh:mm | 2025.11.05. 21:41 |
Date Expressions:
| Expression | Output |
|---|---|
| d | The day as number without a leading zero (1 to 31). |
| dd | The day as number with a leading zero (01 to 31). |
| ddd | The abbreviated localised day name (e.g. 'Mon' to 'Sun'). |
| dddd | The long localised day name (e.g. 'Monday'). |
| M | The month as number without a leading zero (1-12). |
| MM | The month as number with a leading zero (01-12). |
| MMM | The abbreviated localised month name (e.g. 'Jan' to 'Dec'). |
| MMMM | The long localised month name (e.g. 'January' to 'December'). |
| yy | The year as two digit number (00-99). |
| yyyy | The year as four digit number. |
Time Expressions:
| Expression | Output |
|---|---|
| h | The hour without a leading zero (0 to 23 or 1 to 12 if AM/PM display). |
| hh | The hour with a leading zero (00 to 23 or 01 to 12 if AM/PM display). |
| m | The minute without a leading zero (0 to 59). |
| mm | The minute with a leading zero (00 to 59). |
| s | The second without a leading zero (0 to 59). |
| ss | The second with a leading zero (00 to 59). |
| z | The milliseconds without leading zeroes (0 to 999). |
| zzz | The milliseconds with leading zeroes (000 to 999). |
| AP | Use AM/PM display. AP will be replaced by either "AM" or "PM". |
| ap | Yse am/pm display. ap will be replaced by either "am" or "pm". |
| t | Include a time-zone indicator. |
Other characters can be used to separate expressions. For example, "dd-mm-yy" would create "05-11-25".