Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import datetime
- actual1 = datetime.datetime.now()
- actual2 = datetime.datetime.now()
- diferencia = actual2 - actual1
- print(diferencia.days)
- print(diferencia.seconds)
- print(diferencia.total_seconds())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement