date_add_months

Adds a specified number of months to a date.

Example

1
{{ 2020-01-15 | date_add_months: 1 }} => 2020-02-15

Input

Type Parameter Description Required
string date The date to add months to. Comes before the | sign. Required
int months The number of months to add  

Output

Type Description
string The new date