Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

add months to date python


from datetime import date
from dateutil.relativedelta import relativedelta

six_months = date.today() + relativedelta(months=+6)

Source by nullorempty.org #
 
PREVIOUS NEXT
Tagged: #add #months #date #python
ADD COMMENT
Topic
Name
7+8 =