Skip to content

Commit 8baadf4

Browse files
authored
Merge pull request powerexploit#42 from jibrinbabaisah/master
Python Date Parser
2 parents 5bdda93 + 7765ab9 commit 8baadf4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Scripts/TodaysDate.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
from datetime import datetime
2+
3+
now = datetime.now()
4+
5+
mm = str(now.month)
6+
7+
dd = str(now.day)
8+
9+
yyyy = str(now.year)
10+
11+
hour = str(now.hour)
12+
13+
mi = str(now.minute)
14+
15+
ss = str(now.second)
16+
17+
print (mm + "/" + dd + "/" + yyyy + " " + hour + ":" + mi + ":" + ss)

0 commit comments

Comments
 (0)