Template:Date and time templates: Difference between revisions
(Created page with "{{align|left|[{{edit|Template:Date and time templates}}] ''all subsections that follow:''}}<br /> {{info|1=<big>{{#switch:{{FULLPAGENAME}} |Template:Date and time templates=T...") |
m (→Multiple units of time: Fixing name) |
||
Line 35: | Line 35: | ||
|Banners | |Banners | ||
| | | | ||
|{{tl|Right now}}<br>(Blue with time and number of | |{{tl|Right now}}<br>(Blue with time and number of Bharatpedia articles) | ||
| | | | ||
| | | |
Revision as of 11:05, 17 April 2021
[
] all subsections that follow:
![]() | These templates do not put a working clock on your page. The clock will not update the time on your screen every minute. Instead, it records the date and time that the page was most recently edited or purged. If you want a clock that constantly updates, then go to Special:Preferences#mw-prefsection-gadgets and enable the Appearance item, "Add a clock to the personal toolbar that displays the current time in UTC and provides a link to purge the current page". |
Multiple units of time
Type | Adjustable | Current | Last | Next |
---|---|---|---|---|
Date and time | {{time}} | {{Currentdate}} (MDY) {{Plain now}} (DMY) {{Now}} (DMY in a complete sentence) {{Simple now}} |
||
Date only | {{Dateonly}} {{Datedow}} (Has the day of the week) |
{{Date}} (Chose format) {{DATE}} (prefixed by date=) {{TODAY}} (DMY) |
{{Yesterday}} {{Day-1}} |
{{Tomorrow}} {{Day+1}} |
Time only | {{Timeonly}} | {{CURRENTTIME}} (12 h format) {{CURRENTTIME24}} (24 h format) |
||
Banners | {{Right now}} (Blue with time and number of Bharatpedia articles) |
|||
Timestamp | {{Timestamp}} (Format YYYYMMDDhhmmss) |
Single units of time
Date and time templates made for substitution:
Month:
{{Lmonth}} produces Apr
{{Nmonth}} produces Jun
{{LastMonth}} produces April 2025
{{NextMonth}} produces June 2025
Individual templates
- {{Calendar}}
- {{Calendar clock with Wikipedia stats}}
- {{Clock}}
- {{Digital clock}}
- {{Digital clock and date}}