Template:AddDays: Difference between revisions
Jump to navigation
Jump to search
imported>ZachPruckowski (revert back. Will test elsewhere - AddDays/test) |
imported>ZachPruckowski (put in test version - appears to be working) |
||
Line 1: | Line 1: | ||
{{CURRENTYEAR}}{{CURRENTMONTH}}{{#expr: {{CURRENTDAY}} + {{{1}}} }} | {{#ifexpr: {{CURRENTDAY}} + {{{1}}} > {{DaysInMonth|{{CURRENTMONTH}} }} | ||
|{{#ifexpr: {{CURRENTMONTH}} = 12 | |||
|{{#expr:{{CURRENTYEAR}} +1}}01{{AddDays/LeadZero| {{#expr:{{CURRENTDAY2}} + {{{1}}} - {{DaysInMonth|{{CURRENTMONTH}} }} }} }} | |||
|{{CURRENTYEAR}}{{AddDays/LeadZero|{{#expr:{{CURRENTMONTH}} +1}} }}{{AddDays/LeadZero|{{#expr: {{CURRENTDAY}} + {{{1}}} - {{DaysInMonth|{{CURRENTMONTH}} }} }} }} | |||
}} | |||
|{{CURRENTYEAR}}{{CURRENTMONTH}}{{AddDays/LeadZero|{{#expr: {{CURRENTDAY}} + {{{1}}} }} }} | |||
}} | |||
<!--{{CURRENTYEAR}}{{CURRENTMONTH}}{{#expr: {{CURRENTDAY}} + {{{1}}} }}--!> |
Revision as of 10:20, 19 April 2007
Expression error: Unrecognized punctuation character "{".