Published
- 1 min read
add months to date python
The solution for this is noted below
add months to date python
Solution
from datetime import date
from dateutil.relativedelta import relativedelta
six_months = date.today() + relativedelta(months=+6)
Try other methods by searching on the site. That is if this doesn’t work