Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import datetime
- diferencia = datetime.timedelta(days=15)
- tiempo1 = datetime.datetime.now()
- print(tiempo1.day)
- tiempo2 = tiempo1 + diferencia
- print(tiempo2.day)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement