Skip to content

Commit 772194c

Browse files
Add Start & End datetime
1 parent 9935540 commit 772194c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

run.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ def run():
3737

3838

3939
if __name__ == '__main__':
40-
print(f"Start [{datetime.now().strftime("%d-%m-%Y %H:%M:%S.%f")[:-3]}]")
40+
now = datetime.now().strftime("%d-%m-%Y %H:%M:%S.%f")[:-3]
41+
print(f"Start [{now}]")
4142
run()
42-
print(f"End [{datetime.now().strftime("%d-%m-%Y %H:%M:%S.%f")[:-3]}]")
43+
now = datetime.now().strftime("%d-%m-%Y %H:%M:%S.%f")[:-3]
44+
print(f"End [{now}]")

0 commit comments

Comments
 (0)