Skip to content

Instantly share code, notes, and snippets.

@azamsharp
Created April 10, 2020 19:11
Show Gist options
  • Save azamsharp/1b5fb4f7c92280b20df70ca4ea0440cd to your computer and use it in GitHub Desktop.
Save azamsharp/1b5fb4f7c92280b20df70ca4ea0440cd to your computer and use it in GitHub Desktop.
import datetime
from datetime import timedelta
first_time = datetime.datetime.now()
later_time = datetime.datetime.now() + timedelta(minutes=10)
difference = later_time - first_time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment