Template:Date and age: Difference between revisions

From The 2b2t Wiki
Jump to navigation Jump to search
Zltb (talk | contribs)
Created page with "{{#expr: {{CURRENTYEAR}} - {{{1}}} - ({{CURRENTMONTH}} < {{{2}}} or ({{CURRENTMONTH}} = {{{2}}} and {{CURRENTDAY}} < {{{3}}})) }} years ({{{1}}}-{{{2}}}-{{{3}}})"
 
Zltb (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#expr: {{CURRENTYEAR}} - {{{1}}} - ({{CURRENTMONTH}} < {{{2}}} or ({{CURRENTMONTH}} = {{{2}}} and {{CURRENTDAY}} < {{{3}}})) }} years ({{{1}}}-{{{2}}}-{{{3}}})
{{#switch:{{{2}}}
|01=January
|1=January
|02=February
|2=February
|03=March
|3=March
|04=April
|4=April
|05=May
|5=May
|06=June
|6=June
|07=July
|7=July
|08=August
|8=August
|09=September
|9=September
|10=October
|11=November
|12=December
}} {{{3}}}{{#switch:{{{3}}}
|1=st
|21=st
|31=st
|2=nd
|22=nd
|3=rd
|23=rd
|#default=th
}}, {{{1}}}

Latest revision as of 01:15, 12 May 2025

{{{3}}}th, {{{1}}}