Skip to content

Instantly share code, notes, and snippets.

@GabDug
GabDug / keybase.md
Created June 16, 2021 14:09
keybase.md

Keybase proof

I hereby claim:

  • I am gabdug on github.
  • I am gabrieldugny (https://keybase.io/gabrieldugny) on keybase.
  • I have a public key ASCk_mrHNsgWnVQkepMTu1ikpeCyp5bY4DUJ8b3qYBXbnwo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am dugnychon on github.
  • I am gabrieldugny (https://keybase.io/gabrieldugny) on keybase.
  • I have a public key ASDP2gVae3rWPAKGQuKGzKuFXv51loMTJiO0h2OszFzv6Ao

To claim this, I am signing this object:

@GabDug
GabDug / middlepoint.py
Created April 8, 2017 10:16
Return the middle point between two dates in python
from datetime import datetime
input1 = "01/04/2017 12:35"
input2 = "17/04/2017 20:00"
print(input1)
print(input2)
date1 = datetime.strptime(input1, "%d/%m/%Y %H:%M")
date2 = datetime.strptime(input2, "%d/%m/%Y %H:%M")