Skip to content

Instantly share code, notes, and snippets.

@jeremyyeo
Created November 21, 2016 00:57
Show Gist options
  • Save jeremyyeo/39df0e9dd71f630732df65b6341b55ef to your computer and use it in GitHub Desktop.
Save jeremyyeo/39df0e9dd71f630732df65b6341b55ef to your computer and use it in GitHub Desktop.
from datetime import datetime, timedelta
first_half = datetime(2016, 11, 18)
second_half = first_half + timedelta(days=1)
print("http://www.facebook.com/download?file={}".format(first_half.strftime("%d-%m-%Y")))
print("E:/Work/file_{}-{}.csv".format(first_half.strftime("%d_%B_%Y"), second_half.strftime("%d_%B_%Y")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment