I would like to know how to add or substract a number to a date. Here is an example of a date I have to use :
"2000-01-01"
I would like to add 1 year to this date to get :
"2001-01-01"
I tried date + 1
but it doesn't work since it's 1 is an integer.
It is probably simple but I would like to know how to do it.
Also, is it possible to do it with the months and/or the days?
Thanks!