User:ɞɞ/AddMonths
< User:ɞɞ
This documentation is transcluded from User:ɞɞ/AddMonths/doc.
Die Vorlage {{AddMonths}} addiert eine bestimmte Anzahl von Monaten zu einem Datum, der Wert darf auch negativ sein. Template:Sendungsvorlagen
Verwendung
edit{{AddMonths|1=|2=}}
ergibt
{{AddMonths|2=-3|3=j F}}
ergibtParameter
editName | Beschreibung | Standard | Status | |
---|---|---|---|---|
1 | Datum | heute | optional | |
2 | Differenz | 1 | optional | |
3 | time Formatierungsstring | Ymd | optional |
Code
edit<includeonly>
<onlyinclude>{{#time:{{{3|Ymd}}}|{{{1|{{#time:Y-m-d|}}}}} {{{2|1}}} months}}</onlyinclude> </includeonly> {{verborgen}}{{bearbeiten}}
{{documentation}}