Skip to content

Instantly share code, notes, and snippets.

@quantra-go-algo
Created February 21, 2020 07:12
Show Gist options
  • Save quantra-go-algo/cb4c8632b70f76fc03a85b78b03b5421 to your computer and use it in GitHub Desktop.
Save quantra-go-algo/cb4c8632b70f76fc03a85b78b03b5421 to your computer and use it in GitHub Desktop.
#Shift a date using timedelta
my_date = datetime(2018,2,10)
#Shift the date by 10 days
my_date + timedelta(10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment