Template:Digital Millennium status: Difference between revisions
Appearance
Created page with "<includeonly><div class="dm-stub dm-millennium" role="note"><div class="dm-stub-msg">It is year '''{{#expr:{{CURRENTYEAR}}-1999}}''' of the Digital Millennium (2000–3000), in the {{#ifexpr:{{#time:U}}<2147483648|Unixpithcine. '''{{formatnum:{{#expr:floor((2147483648-{{#time:U}})/86400)}}}}''' days remain until the 32-bit time_t overflow on 19 January 2038.|{{#if:{{{era2|}}}|[[{{{era2}}}]]|era after the Unixpithcine}}.}}</div>{{#if:{{{1|}}}|<div class="dm-stub-r..." |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><div class="dm-stub dm-millennium" role="note"><div class="dm-stub-msg">It is year '''{{#expr:{{CURRENTYEAR}}-1999}}''' of the [[Digital Millennium]] (2000–3000) | <includeonly><div class="dm-stub dm-millennium" role="note"><div class="dm-stub-icon" style="font-family:monospace;font-weight:bold;font-size:2.4em;line-height:1;color:#00a5c8;text-align:center;min-width:2.2em;">{{padleft:{{#expr:{{CURRENTYEAR}}-1999}}|3|0}}<div style="font-size:0.32em;letter-spacing:0.15em;opacity:0.75;">OF 1000</div></div><div class="dm-stub-msg">It is year '''{{#expr:{{CURRENTYEAR}}-1999}}''' of the [[Digital Millennium]] (2000–3000). Current era: '''{{#ifexpr:{{#time:U}}<2147483648|[[Unixpithcine]]|{{#if:{{{era2|}}}|[[{{{era2}}}]]|the era after the Unixpithcine}}}}''', {{#ifexpr:{{#time:U}}<2147483648|{{#expr:({{#time:U}}-946684800)/1200798847*100 round 1}}|{{#expr:({{#time:U}}-2147483648)/30356196352*100 round 1}}}}% complete.<div style="height:6px;margin:0.4em 0;border-radius:3px;background:rgba(0,165,200,0.2);overflow:hidden;"><div style="height:100%;width:{{#ifexpr:{{#time:U}}<2147483648|{{#expr:({{#time:U}}-946684800)/1200798847*100 round 1}}|{{#expr:({{#time:U}}-2147483648)/30356196352*100 round 1}}}}%;background:#00a5c8;"></div></div>{{#ifexpr:{{#time:U}}<2147483648|<span style="font-family:monospace;">'''{{formatnum:{{#expr:floor((2147483648-{{#time:U}})/86400)}}}}'''</span> days until the 32-bit time_t overflow on 19 January 2038.|<span style="font-family:monospace;">'''{{formatnum:{{#expr:floor((32503680000-{{#time:U}})/86400)}}}}'''</span> days until the year 3000.}}</div>{{#if:{{{1|}}}|<div class="dm-stub-reason">{{{1}}}</div>}}</div></includeonly><noinclude> | ||
{{Digital Millennium status}} | {{Digital Millennium status}} | ||
{{Digital Millennium status|See also: [[Unixpithcine]].}} | {{Digital Millennium status|See also: [[Unixpithcine]].}} | ||
| Line 7: | Line 7: | ||
Optionally add a note: | Optionally add a note: | ||
<pre>{{Digital Millennium status|Your note here.}}</pre> | <pre>{{Digital Millennium status|Your note here.}}</pre> | ||
After 2038-01-19 03:14:08 UTC the box switches eras by itself. Name the next era with <code>era2</code>: | After 2038-01-19 03:14:08 UTC the box switches eras by itself: the bar tracks 2038 → 3000 and the countdown targets the year 3000. Name the next era with <code>era2</code>: | ||
<pre>{{Digital Millennium status|era2=Name of the next era}}</pre> | <pre>{{Digital Millennium status|era2=Name of the next era}}</pre> | ||
The year and day count are computed when the page is rendered, so purge the page to refresh them. | The year, percentage and day count are computed when the page is rendered, so purge the page to refresh them. | ||
</noinclude> | </noinclude> | ||
Revision as of 20:33, 17 October 2026
It is year 27 of the Digital Millennium (2000–3000). Current era: Unixpithcine, 70.7% complete.4,075 days until the 32-bit time_t overflow on 19 January 2038.
It is year 27 of the Digital Millennium (2000–3000). Current era: Unixpithcine, 70.7% complete.4,075 days until the 32-bit time_t overflow on 19 January 2038.
See also: Unixpithcine.
Usage
{{Digital Millennium status}}
Optionally add a note:
{{Digital Millennium status|Your note here.}}
After 2038-01-19 03:14:08 UTC the box switches eras by itself: the bar tracks 2038 → 3000 and the countdown targets the year 3000. Name the next era with era2:
{{Digital Millennium status|era2=Name of the next era}}
The year, percentage and day count are computed when the page is rendered, so purge the page to refresh them.