Skip to content

Instantly share code, notes, and snippets.

@sonnyksimon
Created September 25, 2019 16:04
Show Gist options
  • Save sonnyksimon/913262874863b5a2b3083ec969b156f4 to your computer and use it in GitHub Desktop.
Save sonnyksimon/913262874863b5a2b3083ec969b156f4 to your computer and use it in GitHub Desktop.
~/bin/sdrem
#!/usr/bin/env python
from __future__ import print_function
import datetime
if __name__ == '__main__':
at = datetime.datetime(1986,11,8)
st = datetime.datetime(1997,11,15)
sn = datetime.datetime.now()
ad = datetime.datetime(2013,1,11)
print(str( ad - sn + st - at ))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment