Jump to content

Template:Age: Difference between revisions

83 bytes added ,  18 years ago
consider month and day
m (1 | 0)
(consider month and day)
Line 1: Line 1:
{{#expr: {{CURRENTYEAR}} - {{{3}}} - {{#ifexpr: {{{1}}} > {{CURRENTMONTH}} | 1 | 0 }} }}
{{#expr: {{CURRENTYEAR}} - {{{3}}} -  
  {{#ifexpr: {{{1}}} < {{CURRENTMONTH}} | 0 |
    {{#ifexpr: {{{1}}} > {{CURRENTMONTH}} or {{{2}}} > {{CURRENTDAY}} | 1 | 0}}
  }}
}}
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.