Template:Yesterday
October 30, 2026
| Template documentation follows |
|---|
| Note: the template above may sometimes be partially or fully invisible. |
| Visit "Template:Yesterday/doc" to edit its documentation if it is available. (How does this work?) |
{{Yesterday}} shows yesterday's date.
Usage
This template has one optional parameter.
- Example
| Code | Result |
|---|---|
{{yesterday}}
|
October 30, 2026 |
{{yesterday|type=short}}
|
October 30 |
See also
- {{day-1}}
- For the magic words with the same or similar names, see MediaWikiWiki:Help:Magic words#Date and time.
Multiple units of time
| Type | Adjustable | Current | Last | Next |
|---|---|---|---|---|
| Date and time |
|
|
||
| Date only | ||||
| Month and year only |
|
| ||
| Time only |
|
|
||
| Banners |
|
|||
| Timestamp |
|
Single units of time
| Unit of time | Adjustable | Current | Last | Next |
|---|---|---|---|---|
| Second |
|
|
||
| Minute |
|
|
||
| Hour |
|
|
||
| Week |
|
|||
| Day of Week |
|
|
||
| Month |
|
|
|
|
| Day of Month |
|
|||
| Year |
|
|
| |
| Day of Year |
|
|||
| Decade |
|
|
||
| Century |
|
|
||
| Millenium |
|
Date and time templates made for substitution
Parser functions
- mw:Special:MyLanguage/time permits a custom time specifier string, similar to the C date and time functions
Individual templates
- {{Calendar}}
- {{Calendar clock with Wikipedia stats}}
- {{Clock}}
- {{Digital clock}}
- {{Digital clock and date}}
- {{Clock (digital)}}
- {{Clock (analog)}}
- {{Infobox calendar date}}