Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

datetime.timedelta months

from datetime import timedelta
from dateutil.relativedelta import relativedelta

end_date = start_date + relativedelta(months=delta_period) + timedelta(days=-delta_period)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #months
ADD COMMENT
Topic
Name
5+8 =