User:Omtay38/sandbox/Archive 10
From Wikipedia, the free encyclopedia
< User:Omtay38 | sandbox
| Date Format | Current Time Stamp | Revision Time Stamp | Current Output |
|---|---|---|---|
| The 4-digit year. | 2008 | 2008 | 0 |
| The month number, not zero-padded. | 6 | 5 | 1 month |
| The day of the month, not zero-padded. | 10 | 27 | -17 days |
| 24-hour format of the hour, without leading padding zero (one or two digits). | 18 | 14 | 4 hours |
| The minute, with leading padding zero (two digits). | 32 | 07 | 25 minutes |
| The second, with leading padding zero (two digits). | 04 | 02 | 2 seconds |
20080610183204
20080527140702
Contents |
[edit] Absolute number of seconds past
[edit] Output
14 days
265 hours
[edit] Code
{{ #ifeq: {{ #expr: {{ #expr:{{ #time: U | {{CURRENTTIMESTAMP}} }}/31556926}} - {{ #expr:{{ #time: U | {{REVISIONTIMESTAMP}} }}/31556926}} round 0}}| 0 ||{{ #expr: {{ #expr:{{ #time: U | {{CURRENTTIMESTAMP}} }}/31556926}} - {{ #expr:{{ #time: U | {{REVISIONTIMESTAMP}} }}/31556926}} round 0}} year{{ #ifeq: {{ #expr: {{ #expr: {{ #expr:{{ #time: U | {{CURRENTTIMESTAMP}} }}/31556926}} - {{ #expr:{{ #time: U | {{REVISIONTIMESTAMP}} }}/31556926}} round 0}}>1 }}| 1 |s|}}}}
{{ #ifeq:{{ #expr: {{ #expr: {{ #expr:{{ #time: U | {{CURRENTTIMESTAMP}} }} mod 31556926}} - {{ #expr:{{ #time: U | {{REVISIONTIMESTAMP}} }} mod 31556926}} }} / 2629743.83 round 0}}| 0 || {{ #expr: {{ #expr: {{ #expr:{{ #time: U | {{CURRENTTIMESTAMP}} }} mod 31556926}} - {{ #expr:{{ #time: U | {{REVISIONTIMESTAMP}} }} mod 31556926}} }} / 2629743.83 round 0}} month{{ #ifeq: {{ #expr: {{ #expr: {{ #expr: {{ #expr:{{ #time: U | {{CURRENTTIMESTAMP}} }} mod 31556926}} - {{ #expr:{{ #time: U | {{REVISIONTIMESTAMP}} }} mod 31556926}} }} / 2629743.83 round 0}}>1 }}| 1 |s|}}}}
{{ #ifeq:{{ #expr: {{ #expr: {{ #expr: {{ #expr:{{ #time: U | {{CURRENTTIMESTAMP}} }} mod 31556926}} - {{ #expr:{{ #time: U | {{REVISIONTIMESTAMP}} }} mod 31556926}} }} mod 2629743.83 }} / 86400 round 0}}| 0 || {{ #expr: {{ #expr: {{ #expr: {{ #expr:{{ #time: U | {{CURRENTTIMESTAMP}} }} mod 31556926}} - {{ #expr:{{ #time: U | {{REVISIONTIMESTAMP}} }} mod 31556926}} }} mod 2629743.83 }} / 86400 round 0}} day{{ #ifeq: {{ #expr: {{ #expr: {{ #expr: {{ #expr: {{ #expr:{{ #time: U | {{CURRENTTIMESTAMP}} }} mod 31556926}} - {{ #expr:{{ #time: U | {{REVISIONTIMESTAMP}} }} mod 31556926}} }} mod 2629743.83 }} / 86400 round 0}}>1 }}| 1 |s|}}}}
{{ #ifeq:{{ #expr: {{ #expr: {{ #expr: {{ #expr: {{ #expr:{{ #time: U | {{CURRENTTIMESTAMP}} }} mod 31556926}} - {{ #expr:{{ #time: U | {{REVISIONTIMESTAMP}} }} mod 31556926}} }} mod 2629743.83 }} mod 86400}} / 60 round 0}}| 0 ||{{ #expr: {{ #expr: {{ #expr: {{ #expr: {{ #expr:{{ #time: U | {{CURRENTTIMESTAMP}} }} mod 31556926}} - {{ #expr:{{ #time: U | {{REVISIONTIMESTAMP}} }} mod 31556926}} }} mod 2629743.83 }} mod 86400}} / 60 round 0}} hour{{ #ifeq: {{ #expr: {{ #expr: {{ #expr: {{ #expr: {{ #expr: {{ #expr:{{ #time: U | {{CURRENTTIMESTAMP}} }} mod 31556926}} - {{ #expr:{{ #time: U | {{REVISIONTIMESTAMP}} }} mod 31556926}} }} mod 2629743.83 }} mod 86400}} / 60 round 0}}
>1 }}| 1 |s|}}}}
{{ #ifeq:{{ #expr: {{ #expr: {{ #expr: {{ #expr: {{ #expr: {{ #expr:{{ #time: U | {{CURRENTTIMESTAMP}} }} mod 31556926}} - {{ #expr:{{ #time: U | {{REVISIONTIMESTAMP}} }} mod 31556926}} }} mod 2629743.83 }} mod 86400}} mod 60}} / 60 round 0}}| 0 ||{{ #expr: {{ #expr: {{ #expr: {{ #expr: {{ #expr: {{ #expr:{{ #time: U | {{CURRENTTIMESTAMP}} }} mod 31556926}} - {{ #expr:{{ #time: U | {{REVISIONTIMESTAMP}} }} mod 31556926}} }} mod 2629743.83 }} mod 86400}} mod 60}} / 60 round 0}} minute{{ #ifeq: {{ #expr: {{ #expr: {{ #expr: {{ #expr: {{ #expr: {{ #expr: {{ #expr:{{ #time: U | {{CURRENTTIMESTAMP}} }} mod 31556926}} - {{ #expr:{{ #time: U | {{REVISIONTIMESTAMP}} }} mod 31556926}} }} mod 2629743.83 }} mod 86400}} mod 60}} / 60 round 0}}>1 }}| 1 |s|}}}}
{{ #ifeq:{{ #expr: {{ #expr: {{ #expr: {{ #expr: {{ #expr: {{ #expr: {{ #expr:{{ #time: U | {{CURRENTTIMESTAMP}} }} mod 31556926}} - {{ #expr:{{ #time: U | {{REVISIONTIMESTAMP}} }} mod 31556926}} }} mod 2629743.83 }} mod 86400}} mod 60}} mod 60}} / 60 round 0}}| 0 || {{ #expr: {{ #expr: {{ #expr: {{ #expr: {{ #expr: {{ #expr: {{ #expr:{{ #time: U | {{CURRENTTIMESTAMP}} }} mod 31556926}} - {{ #expr:{{#time: U | {{REVISIONTIMESTAMP}} }} mod 31556926}} }} mod 2629743.83 }} mod 86400}} mod 60}} mod 60}} / 60 round 0}} second
{{ #ifeq: {{ #expr: {{ #expr: {{ #expr: {{ #expr: {{ #expr: {{ #expr: {{ #expr: {{ #expr:{{ #time: U | {{CURRENTTIMESTAMP}} }} mod 31556926}} - {{ #expr:{{ #time: U | {{REVISIONTIMESTAMP}} }} mod 31556926}} }} mod 2629743.83 }} mod 86400}} mod 60}} mod 60}} / 60 round 0}}>1 }}| 1 |s|}}}}
[edit] Table by variable
| Paramater | Current Output |
|---|---|
| Year | |
| Month | |
| Day | 14 days |
| Hour | 265 hours |
| Minute | |
| Second | |
| Current seconds: 1213122724 | |
| Last revision seconds: 1211897222 | |
| Absolute seconds since last revision: 1225502 | |
[edit] Easier
Updated: May 27, 2008 at 14:07:02,
[edit] Even easier than that!
Updated: May 27, 2008 at 14:07:02
skia (talk) 14:07, 27 May 2008 (UTC)

