Get current date and time in Python

/ Published in: Python
Save to your folder(s)

Always gives me perfect date.

Sample Output

Current Day is: 1
Current Month is: 2
Current Year is: 2020
Current Hour is: 17
Current Minute is: 3
Current Second is: 8
Current Microsecond is: 556483


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.