diff options
| author | root <root@turin.home> | 2022-01-30 14:01:55 +0000 |
|---|---|---|
| committer | root <root@turin.home> | 2022-01-30 14:01:55 +0000 |
| commit | afdc48378489d1ce1183dfd720fd838074812a49 (patch) | |
| tree | 2e4cb3663212694aa6fe64be35c9ecff575e30c7 /date.py | |
| parent | b6698810b9ff40a2d91b71c61017667642db212a (diff) | |
Reformatting. Adding things to date.py
Diffstat (limited to 'date.py')
| -rw-r--r-- | date.py | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,10 +1,13 @@ import time from datetime import datetime + class date: def __init__(): pass + def day(): - int(datetime.now().strftime('%Y%m%d')) + int(datetime.now().strftime("%Y%m%d")) + def time(): - int(datetime.now().strftime('%H%M%S')) + int(datetime.now().strftime("%H%M%S")) |
