Skip to content

Instantly share code, notes, and snippets.

@justinabrahms
Created August 12, 2010 18:50
Show Gist options
  • Save justinabrahms/521480 to your computer and use it in GitHub Desktop.
Save justinabrahms/521480 to your computer and use it in GitHub Desktop.
now = datetime.today()
time_list = now.timetuple()[:3] # get year,month,day
time_list.extend([START_TIME.hour, START_TIME.minute])
start_datetime = datetime(*time_list)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment