dotfiles/bin/datecalc.py

7 lines
157 B
Python
Raw Normal View History

2021-02-11 16:25:39 +00:00
#!/usr/bin/env python3
from datetime import datetime
if __name__ == "__main__":
2022-10-04 19:48:41 +00:00
print(f"I am {(datetime.today() - datetime(1988,3,3)).days} days old")