Last active
April 23, 2020 16:05
-
-
Save parzibyte/9c2b6c1d78d3fb0c8fe734be358f15e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import datetime | |
from datetime import timedelta | |
ahora = datetime.now() | |
print("Ahora: " + str(ahora)) | |
hace_una_semana = ahora - timedelta(days=7) | |
print("Hace una semana: " + str(hace_una_semana)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment