Template:Earliest possible date/doc
Appearance
This is a documentation subpage for Template:Earliest possible date. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]This template uses Lua: |
This template takes a date with a year, month, or day level of precision, and returns the earliest possible date within that timeframe. The date must be entered in the format Y
, F Y
, or j F Y
.
Examples
[edit]{{Earliest possible date|2024}}
returns 1 January 2024{{Earliest possible date|March 2024}}
returns 1 March 2024{{Earliest possible date|14 March 2024}}
returns 14 March 2024{{Earliest possible date|March 14, 2024}}
returns March 14, 2024
TemplateData
[edit]Fills out a date at any level of precision, assuming the earliest possible day.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Date | 1 | The date to be filled out
| Date | required |
See also
[edit]