This template displays date in various number of formats given user's preference. This template only shows date name. It doesn't show weekday name. To use day please see User:Pratyya Ghosh/Day. If you want to use both then use these two templates accordingly.
format(Optional) for hour format. Detailed possible inputs are given below. By default it is set to full Day Month Year format.
Format parameters
Code (for format)
Code to display
<blank>
25 December 2024
<default>
25 December 2024
d
D
25
m
M
December
y
Y
2024
dm
Dm
mD
DM
md
Md
mD
MD
25 December
my
My
mY
MY
ym
Ym
yM
YM
December 2024
df for date formats. d, D for non zero-padded date (1). By default it is set to zero-padded date (01).
mf for month formats. Mm for abbreviation of the month name (Jan), mm for zero-padded month index (01), m for non zero-padded month index (1). By default it is set to full month name (January).
yf for year formats. yy, Yy, yY, YY for 2-digit year format (14). By default it is set to 4-year digit (2014)
tz-display for display of bracketed users timezone. If used y or Y then another parameter will be added. For example {{User:Pratyya Ghosh/Date|tz=+6|tz-display=y}} will show as 26 December 2024 (UTC+06:00). By default it is not used.
purge-display for display of a subscripted purge link. If used y or Y then another parameter will be added. For example {{User:Pratyya Ghosh/Date|tz=+6|purge-display=y}} will show as 26 December 2024 (purge). By default it is not used.
All the stated parameters stated are above. If none of them applied then it will be shown as 25 December 2024 format
The current purge button in the template is not included by default in any place. It's just for this page. If you need to use the purge button then you need to use the purge-display parameter.