Created
March 14, 2022 17:33
-
-
Save edersonbadeca/74533db42f9d49ea96ae966fa7b5777a to your computer and use it in GitHub Desktop.
Python date diff
This file contains hidden or 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
# coding: utf-8 | |
d = date(2022, 2, 22) | |
d1 = date(2022, 3, 4) | |
abs(d-d1).days |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment