User:AvidConanContributor/sandbox: Difference between revisions
Appearance
mNo edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
{{#ifexpr: {{#time: n|{{{2}}} }} = {{#time: n|{{{1}}} }} | {{#ifexpr: {{#time: n|{{{2}}} }} = {{#time: n|{{{1}}} }} | ||
| <!-- Comparing the days --> | | <!-- Comparing the days --> | ||
{{#ifexpr: {{#time: j|{{{2}}} }} | {{#ifexpr: {{#time: j|{{{2}}} }} = {{#time: j|{{{1}}} }} | ||
| 0 | | <!-- Comparing the time --> | ||
| 1 | {{#ifexpr: {{#time: H:i:s|{{{2}}} }} >= {{#time: H:i:s|{{{1}}} }} | ||
| 0 | |||
| 1 | |||
}} <!-- End of time comparison --> | |||
| {{#ifexpr: {{#time: j|{{{2}}} }} > {{#time: j|{{{1}}} }} | |||
| 0 | |||
| 1 | |||
}} | |||
}} <!-- End of day comparison --> | }} <!-- End of day comparison --> | ||
| {{#ifexpr: {{#time: n|{{{2}}} }} > {{#time: n|{{{1}}} }} | | {{#ifexpr: {{#time: n|{{{2}}} }} > {{#time: n|{{{1}}} }} | ||
| Line 16: | Line 23: | ||
| 1 | | 1 | ||
}} | }} | ||
}} | }} <!-- End of month comparison | ||
}} | }} | ||
}}</includeonly><noinclude> <!-- {| class="infobox" style="width: 285px; text-align: left; font-size: 90%;" cellpadding="2" | }}</includeonly><noinclude> <!-- {| class="infobox" style="width: 285px; text-align: left; font-size: 90%;" cellpadding="2" | ||
Revision as of 20:16, 19 April 2025
YearsBetween
{{#ifexpr: 1745020800 - 1113868800 < 0
| Error: DateTime2 is earlier than DateTime1
| {{#expr:
2025 - 2005 -
Expression error: Unrecognized punctuation character ":".
YearsBetween
Template loop detected: User:AvidConanContributor/sandbox </noinclude>