Skip to content

Instantly share code, notes, and snippets.

@perone
Created August 3, 2012 15:47
Show Gist options
  • Save perone/3248889 to your computer and use it in GitHub Desktop.
Save perone/3248889 to your computer and use it in GitHub Desktop.
Add one month
from dateutil.relativedelta import relativedelta
from datetime import datetime
now = datetime.now()
now_plus_one_month = now + relativedelta(months=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment